New Line Character ?

Posted by Boca on Tue 17 Jul 2001 11:28 PM — 2 posts, 13,081 views.

#0
What character(s) do you send to the MUD to force a new line? What I want is to "press return" everytime I get the following trigger line: "[RETURN for more,"

I looked in help under every topic I could think of (this is my first time using/trying MushClient) and came up empty!! So the second question is, where was the answer in help?

On the same trigger line in ZMUD you had to put a tilde in front of the "[" for the program to read it correctly. So the above trigger would have to look like this for it to work:
#TRIGGER {~[RETURN for more,} {#cr}

Are there similiar characters in MushClient that require special handling like that?

Finally, can I import my ZMUD triggers and Aliases? I did not see any import function, or a format where you can load the trigger/alias right from the command line.

Thanks for staying with me if you read this far!!
Boca the newbie



I just downloaded mushclient so am a total newbie with it. I have used ZMUD extensively, and know some WinTin/yTin.
Australia Forum Administrator #1
First, you can probably disable the paging by typing in a command like "pager 0" or "config -pager".

However to answer your question, you just have to type a blank line into the "send" box in the trigger, and that will send a blank line.

Probably the problem is that your trigger will need a wildcard at the end.

I presume because what you are matching on ends in a comma, that there is really more on that line (like "q to quit").

So your trigger should be:

Match on: [RETURN for more,*

The asterisk says "and whatever else follows" - ie. a wildcard.

The square bracket is OK, unless you check the "regular expression" box in which case you would need to put a backslash in front of it.