|
Ins0mniak Apprentice
Joined: 27 Apr 2001 Posts: 110
|
Posted: Sat Feb 23, 2002 12:16 am
Trigger multiple times on one line? |
Ok.. for instance here is a string:
You also see a black rat, a black rat, and a black rat.
Trigger: ({rat}){.|,}
Value: #ADD Rats 1
This will only fire once on that line producing a 1 instead of a 3. Any help? |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Sat Feb 23, 2002 12:37 am |
With 6.16 I've found a good way is
to grab the line, then parse.
Trigger:
You also see (%*).
Script:
#VAR rats %numwords("%1","a black rat")
Or something to that effect.
TonDiening
Beta Upgrading to 6.26 |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|