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


Joined: 15 Dec 2002
Posts: 35

PostPosted: Thu Jun 05, 2003 2:35 pm   

triggers not firing....
 
#trigger {By what name do you wish to be known? } {y;password;password;m;h;#1 %random( 17);r;color complete;change spam 1;echo;change mood berserk}

i have have a problem with this trigger... for some reason it doesn't enter the commands until i pressed enter.. this happened with a login script i had also.. for some odd reason, while i was editing it, i messed up my login script (my own, not zmud's) and it wouldn't enter the password on trigger.... it would type it in, and when i pressed return to send a blank line, it would send the password.... in this case, the line goes like this... when i want to make a new char..

Did I get that right, Afdasdfsdf (Y/N)?

i test this with the trigger, and it's pattern matches.. except it doesn't send the info... i press enter, then it shows up... when this happened for my login script, i didn't know how to fix this except to load up some backup's.. i compared the script to the old and it looked the same... it's really got me stumped..
Reply with quote
hatespyware
Apprentice


Joined: 16 Dec 2002
Posts: 103

PostPosted: Thu Jun 05, 2003 2:46 pm   
 
You probably want to tick the trigger on prompt box...
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Jun 05, 2003 3:38 pm   
 
Questions which leave the cursor on the same line, so that the answer will show up on the same line at the end of the question, are prompt-type outputs. As hatespyware said, they need the Prompt option to work properly.

In the Settings Editor, on the Options tab. Prompt checked. Newline unchecked.

From the command line, include the "prompt" and "nocr" options to achieve the same thing. You must have a class field to have a prompt field, but the class field can be empty to use the default class.
#trigger {By what name do you wish to be known? } {y;password;password;m;h;#1 %random( 17);r;color complete;change spam 1;echo;change mood berserk} {} {prompt|nocr}

(You really want your name to be "y"?)

LightBulb
Advanced Member
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