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
tkeys43
Newbie


Joined: 22 Aug 2003
Posts: 1
Location: Australia

PostPosted: Fri Aug 22, 2003 11:29 pm   

word wrap
 
I am having trouble capturing multiple lines for my trigger to work]
For example #trigger A butterfly flits about your head.
there mud has it mostly as such
"a butterfly flits
about your head"
trigger does not catch that because the "about your head is on a new line?
Can not find how to modify word wrap. This is on the mud Achaea.[}:)]
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sat Aug 23, 2003 7:09 pm   
 
try searching this Forum and finished mud scripts forum for "multi line triggers"
You will find that this subject is talked about very often.

Do you find it neccesery to Trigger the whole thing?
Why not this? #trigger {"a butterfly flits} {whatever}

but here is one way:

#TRIGGER {^"a butterfly flits$} {#temp {^about your head"$} {whatever}}

here is another more powerful
Check out the hilp file on #condition

#TRIGGER {^"a butterfly flits$} {#noop}
#COND {^about your head"$} {wow this works}
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