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


Joined: 16 Apr 2004
Posts: 2
Location: United Kingdom

PostPosted: Fri Apr 16, 2004 6:52 pm   

Capture next line after trigger in mud(once more)
 
Hi,

I was looking for a way to capture the next line after the trigger and i found a thread that explained it. It told to use the following
syntax.
#COND {(*)} {#var nextline %1} {Looplines|Param=1}
where %1 is the next line after it. It worked for me for couple of tries, but then zmud gave me an error (parse error) for the #COND command and i had to close zmud. And after that it is not working anymore. I made it as simple as I could:
#TR You say, "Ha."
#COND {(*)} {grin} {Looplines|Param=1}
it wont hit the grin either.
Im using XP + 7.05 zmud
Can anyone explain what i am doing wrong or is there another way to capture the next line.

Thank you
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat Apr 17, 2004 12:33 am   
 
You should use {}s in the #TRIGGER and #VARIABLE commands also. The "s may need ~s.
#TR {You say, ~"Ha.~"}
#COND {(*)} {grin;#VAR nextline {%1}} {Looplines|Param=1}
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