 |
darmir Sorcerer

Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Wed Sep 01, 2004 3:24 pm
Basic Trigger Question |
I am really having a brain farm when it comes to this.
I am trying to count the number of pieces of wood using one trigger.
The difference is when there is only one piece of wood it shows this:
A dry piece of wood is lying on the ground here.
And when there is more than one they show the number of pieces in parantheis
A dry piece of wood is lying on the ground here. (x11)
Anybody have an idea. Just can't think right now. |
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Sep 01, 2004 11:41 pm |
Sure. Do it the easy way with two triggers.
#TR {A dry piece of wood is lying on the ground here.} {#ADD wood 1}
#TR {A dry piece of wood is lying on the ground here. ~(x(%d)~)} {#ADD wood %eval( %1 - 1)} |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
 |
|
|