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
jrobbie4499
Beginner


Joined: 31 Dec 2002
Posts: 10

PostPosted: Tue Jan 14, 2003 5:46 am   

trigger help
 
here is text on mud:
Does your terminal support ANSI color? [Y/n]

i need a trigger to accept Y and the somehow hit enter then go south, east, north, and rent. I have a autoroller that once the stats are rolled it beeps. What i need is a trigger that would be the second half and accept and do all the following above. I made one but it just sits there at the Y/N ansi question and if i hit enter then it fires. Need help plz.
Reply with quote
Edwub
Wanderer


Joined: 21 Nov 2002
Posts: 85
Location: USA

PostPosted: Tue Jan 14, 2003 6:23 am   
 
#TRIGGER {Does your terminal support ANSI color? [Y/n] } {Y;%cr;south;east;north;rent;}

Edwub the Mage
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Jan 14, 2003 9:49 am   
 
Just add the needed commands to the autoroller trigger, following the #BEEP.

The problem most people have with this (and similar) triggers is that the MUD doesn't send an end-of-line when it asks you a question, so the trigger is waiting for the line to finish. The solution is to change the Trigger on from Newline to Prompt.

LightBulb
Senior Member
Reply with quote
jrobbie4499
Beginner


Joined: 31 Dec 2002
Posts: 10

PostPosted: Tue Jan 14, 2003 5:09 pm   
 
does %cr the same as if i phyiscally press enter on my keyboard?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Jan 14, 2003 6:10 pm   
 
It might. #CR would be a better choice.

LightBulb
Senior 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