|
jrobbie4499 Beginner
Joined: 31 Dec 2002 Posts: 10
|
Posted: 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. |
|
|
|
Edwub Wanderer
Joined: 21 Nov 2002 Posts: 85 Location: USA
|
Posted: 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 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: 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 |
|
|
|
jrobbie4499 Beginner
Joined: 31 Dec 2002 Posts: 10
|
Posted: Tue Jan 14, 2003 5:09 pm |
does %cr the same as if i phyiscally press enter on my keyboard?
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Jan 14, 2003 6:10 pm |
It might. #CR would be a better choice.
LightBulb
Senior Member |
|
|
|
|
|