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
sikkar
Newbie


Joined: 29 Sep 2004
Posts: 8

PostPosted: Wed Sep 29, 2004 3:22 pm   

no clue how to do this...can someone help plz!
 
what i need is a trigger that will change the direction i am walking in a set order after seeing a certain room discription or set of exits...

so using " The Lobby of the Towers of Blood "
or " ~[Exits: north east south west up down~]"

as the trigger...

so, the first time it see's this, it will go north, the second time south, third east, fourth west, fifth up, then start again from the beginning...anyway to do this?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Sep 29, 2004 4:46 pm   
 
Exactly as requested. I figure you have a reason for not going 'down'.
#ADDK Lobby {Index=1|1=north|2=south|3=east|4=west|5=up}
#TR {The Lobby of the Towers of Blood} {%db( @Lobby, %db( @Lobby, Index));#IF (@Lobby.Index < 5) {#ADD Lobby.Index 1} {#ADDK Lobby Index 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.
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