|
Ash June2 Newbie
Joined: 11 May 2002 Posts: 5
|
Posted: Sat May 11, 2002 2:36 pm
Operations on triggers? |
I'd like to capt the talkings AND the emotes and transfer them to the 'tell' window.
I'd like to make something like :
if the line contains the string 'say' OR the string 'shout' OR the string 'Arthur' OR then string 'Lancelot' OR ..... then CAP and GAG.
I want to do this because creating multiples triggers results in multiplying the lines which contains several 'trigger targets'.
Hope this is possible to do, thanks a lot :)
Ash |
|
|
|
Gandorf Novice
Joined: 28 Oct 2000 Posts: 38 Location: Sweden
|
Posted: Sat May 11, 2002 3:00 pm |
I hope I get this right
First you store what you want to capture in a variable.
#var capture {say|shout|Arthur|Lancelot}
then if you want to match any string against that you just make a trigger like this
#tr {{@capture}} {#capture tell;#gag}
Gandorf |
|
|
|
Ash June2 Newbie
Joined: 11 May 2002 Posts: 5
|
Posted: Sat May 11, 2002 3:18 pm |
WOW!!!!!!!!
for the moment it works exactly as I hoped!
I wouldn't have find that by myself.
Thanks a lot :)
Ash
*zMUD RuLeZ* |
|
|
|
|
|