 |
dskorren Novice
Joined: 07 Feb 2002 Posts: 48 Location: Philippines
|
Posted: 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. |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Mon May 12, 2003 12:39 pm |
#TRIGGER {Exits: (*)} {#VAR exits %replace(%replace(%replace("%1", "[", ""), "]", ""), " ", "|");showexits @exits}
Kjata |
|
|
 |
dskorren Novice
Joined: 07 Feb 2002 Posts: 48 Location: Philippines
|
Posted: Mon May 12, 2003 5:04 pm |
Works great Kjata, thank you very much.
|
|
|
 |
|
|