Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Etheledda
Newbie


Joined: 03 Mar 2003
Posts: 7
Location: Russia

PostPosted: 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..
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: 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
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net