| Message |
One problem with triggers is that they don't match until a newline. Thus, if the mud is waiting for you to type in a name, like this:
Name:
The trigger won't match (because no newline has been received).
What I would do here, guessing that you want to remember the name you entered automatically, is to enter the name the usual way, but catch when the MUD echoes it.
Please choose a name for your character:
Temyr
Did I get that right, Temyr (Y/N)?
In this case, you enter the name "Temyr" in the usual way, but make a trigger to catch it like this:
Trigger: Did I get that right, * (Y/N)?
Send: %1
Send to: Variable (label is name)
Label: character_name
Of course, the exact trigger text would depend on the MUD in question, but many of them will be similar as they are based on the same code. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|