 |
Etheledda Newbie
Joined: 03 Mar 2003 Posts: 7 Location: Russia
|
Posted: Tue Mar 04, 2003 2:26 pm
Is there any way to reset a variable by ... |
just moving through MUD. means i just walk and after each east,west, south etc the variable resets... triggers on the directions don't fit because i use brief (e,w,s,n,u,d) and that means such triggers will reset variable on almost evry string..
|
|
|
|
 |
megamog75 Enchanter

Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Tue Mar 04, 2003 3:39 pm |
#trig {^e$} {something}
the ^ is for only trigs that start at the begining of a line
And the $ is for matching the string at the end thus only the leter E by itself will trigger
Hope that is what you wanted
megamog75 |
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Mar 04, 2003 6:20 pm |
quote: Is there any way to reset a variable by just moving through MUD. means i just walk and after each east,west, south etc the variable resets?
If you can find some way of telling, from the MUD output, that you've just moved then you can use that for a trigger.
Alternatively, you can use aliases.
#AL e {#VAR counter 0;~e}
LightBulb
Advanced Member |
|
|
|
 |
|
|
|
|
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
|
|