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


Joined: 30 Apr 2003
Posts: 43
Location: Sweden

PostPosted: Thu Mar 18, 2004 4:20 pm   

Special chars: (
 
Hi, I have a question wich is really messing up my mind.
I would like to trigger this:
Roomname (exit1, exit2, exit3)
to trigger: say hi
Sometimes, there are more then 1 exits etc.

I tried this:
^Roomname ~(exit1, exit3, exit3~)
But it did not work.
I read the help file and saw one could put {}

So i tried {^Roomname ~(exit1, exit3, exit3~)}
but when I have that trigger, exactly anything I type ends up in a loop error. And the trigger fires like 10000 times..

Can any one help me?
Reply with quote
Talahaski
Enchanter


Joined: 10 Oct 2000
Posts: 656
Location: USA

PostPosted: Thu Mar 18, 2004 4:47 pm   
 
{^something}
the above syntax says to trigger on anything except the work something. So that is where your loop comes from.

I'm not exaclt sure what you want to trigger on. a few examples with actual mud text you want to trigger on and mud text you don't want to trigger on would be helpfull.

My guess is you only want to trigger on certain exits, or do you want to trigger on any exit.

To trigger on any exit, try using this

^Roomname ~(*~)

To trigger on only some exits try

^Roomname ~(*{exit1|exit2|exit3}*~)

where exit1, exit2, exit 3 are the exits you want to trigger on.
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