About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Jan 26, 2004 8:33 pm   

Multiple line triggers
 
I know that, in order to use triggers over multiple lines, you have to use the $ wildcard, eg.

#trig {You look towards the horizon and see a herd of $giant laser mutant space marmots heading $towards you!}

but is it possible to have zmud match this no matter where the new lines come? For example, have it match

#trig {You look towards the horizon and see $a herd of giant laser mutant space marmots $heading towards you!}

as well, or would I need to set up a new trigger to do this?
Reply with quote
Valint
Wanderer


Joined: 12 Nov 2003
Posts: 70
Location: USA

PostPosted: Tue Jan 27, 2004 4:51 pm   
 
Text wrapped by Zmud is not considered multiple lines, i.e., assuming appropriate settings, the mud is likely to send "You look ... towards you!" all as one line, which is then word-wrapped by Zmud.

If the text is being wrapped by the mud, check your terminal emulation settings to see if you can change that.
Reply with quote
m_orb
Beginner


Joined: 13 Jan 2003
Posts: 28

PostPosted: Tue Jan 27, 2004 8:03 pm   
 
I had the same problem some time ago when my MUD did not allow to switch off the option for max text length received from itself.
I tried to find repeating text in each line to make only one trigger.
For your case:
#TRIGGER {laser mutant*$*wards you!$}
Cannot test it however now.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Jan 27, 2004 10:09 pm   
 
The text isn't wordwrapped by zmud, it's done by the MUD. That's exactly why this problem cropped up.

Thankyou for the help, though. I'll try that.
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