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


Joined: 22 Aug 2004
Posts: 32

PostPosted: Thu Jun 08, 2006 5:56 am   

Simple questions
 
I have a scripting question...I have door trigger that fires on the word "open" and I need it to only fire when open is a command that is entered, not a description in the mud.....Sometimes the command comes after my prompt and sometimes on a new line...is there a way to do this?

fix me:

#TRIGGER {open (%w)}


Thanks

-R
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Thu Jun 08, 2006 6:06 am   
 
#ALIAS open {~open %1}

Edit: I guess that isn't what you want. Can you provide examples of the output that you want to trigger on? It would also help if you surrounded the paste with [Code ] tags.
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