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
rtatum
Novice


Joined: 19 Sep 2004
Posts: 45
Location: Houston

PostPosted: Wed Sep 29, 2004 10:57 pm   

Need help with something simple...
 
Okay, some muds display a MOTD and have a prompt at the end that says something like

*** Press Enter:

And then it waits for you to... press enter... now I'm trying to make a simple trigger to do a #CR when *** Press Enter: shows up, so the pattern is ~*~*~* Press Enter, and the value is #CR, but it doesn't go off, I think because there is no new line after the Press Enter line, so I unchecked new line on the trigger options, but it's still no go, any advice?
Reply with quote
rtatum
Novice


Joined: 19 Sep 2004
Posts: 45
Location: Houston

PostPosted: Wed Sep 29, 2004 10:58 pm   
 
Nevermind, using the prompt option on the trigger makes it function properly, my mistake, carry on
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Thu Sep 30, 2004 12:26 am   
 
Explination of options

prompt=Any line that doesn't end with a newline (Commonly used as you guessed it in Prompts)
newline=Any line that ends with a newline (Commonly used as you guessed it regular output)

Which is why only one of the options should be checked and not both otherwise you would have triggers firing twice.
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
rtatum
Novice


Joined: 19 Sep 2004
Posts: 45
Location: Houston

PostPosted: Thu Sep 30, 2004 7:12 am   
 
Yeah, I was confused for a moment, and then I remembered the difference, since prompts usually don't end with a new line
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