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
dskorren
Novice


Joined: 07 Feb 2002
Posts: 48
Location: Philippines

PostPosted: Mon May 12, 2003 5:16 am   

compass.zsc
 
I just imported the compass.zsc that is in the zmud main directory and it comes with the alias showexits %1 where %1 is a list of exits that you want enabled in the exit buttons.

How do i setup a trigger to store the exits from the exit line in a list and do the showexit alias automatically?

The exit line looks like this:
Exits: east north south

and this for exits with doors:
Exits: east north south [west]

Thanks in advance.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon May 12, 2003 12:39 pm   
 
#TRIGGER {Exits: (*)} {#VAR exits %replace(%replace(%replace("%1", "[", ""), "]", ""), " ", "|");showexits @exits}

Kjata
Reply with quote
dskorren
Novice


Joined: 07 Feb 2002
Posts: 48
Location: Philippines

PostPosted: Mon May 12, 2003 5:04 pm   
 
Works great Kjata, thank you very much.
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