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


Joined: 20 Nov 2001
Posts: 4
Location: USA

PostPosted: Tue Nov 20, 2001 5:58 am   

Triggers
 
I was wondering if it was possible to make a trigger react to two lines.
For example:
if I type scan,

[North]
FireBird (Player)
The healer
[East]
No exit.
[South]
The cityguard
[West]
No exit.
[Up]
The spirit
[Down]
No exit.

I would want a trigger to react to the 1st two lines.
Is it possible?




-Edison
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: Tue Nov 20, 2001 8:00 am   
 
Sure, you can do something like this:

#alias scan {scan;#t+ Scan}

#trigger {(*)$(*)} {#var temp1 {%1};#var temp2 {%2};#t- Scan} "Scan"


Not verified, you may have to tweak it just a tiny bit, but is that what you wanted or did you want to do something else?

Iljhar
Reply with quote
son14ic
Newbie


Joined: 20 Nov 2001
Posts: 4
Location: USA

PostPosted: Wed Nov 21, 2001 6:23 pm   
 
Thank for the Help.
I got the trigger to adjust to mud and it's up and running :)

Except it's a bit too slow.

Thank you.


-Edison
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