[MudWalker] Argument Problem

Kevin Reid kpreid at mac.com
Fri Feb 6 10:16:44 PST 2009


On Jan 30, 2009, at 2:01, Dom Sengsouvanna wrote:

> Using the room variables from the previous thread, I am having  
> difficulty capturing an argument that wraps into the next line.  Say  
> for instance the trigger message is:
>
> You finish a spell and a great clay hand rises up out of the earth,  
> engulfing
> Eluten Guard.

MudWalker doesn't support multi-line patterns.

If you want to match something that happens on two lines, set up a  
trigger for each line, and have the first trigger set a variable which  
the second trigger checks and resets. (This is a programming technique  
known as a state machine.)

> Mudwalker for some reason doesn't comply with the script.  If there  
> a way to get that argument from the 2nd line?? If not, is there a  
> way to stretch the line longer, so that it all fits into one line??

What matters is the line breaks the mud sends, which MudWalker has  
almost no control over. (There is a Telnet feature for reporting the  
window size to the server, which MudWalker supports, but most muds  
don't care about it.)

-- 
Kevin Reid                            <http://homepage.mac.com/kpreid/>




More information about the MudWalker mailing list