|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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? |
|
|
|
Valint Wanderer
Joined: 12 Nov 2003 Posts: 70 Location: USA
|
Posted: 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. |
|
|
|
m_orb Beginner
Joined: 13 Jan 2003 Posts: 28
|
Posted: 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. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: 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. |
|
|
|
|
|