Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Matching on my MUD's prompt, not just on the newline

Matching on my MUD's prompt, not just on the newline

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Daved   (12 posts)  Bio
Date Fri 21 Nov 2008 07:06 AM (UTC)
Message
I'm playing Aetolia, and I can't seem to get this prompt trigger:

^H\:(.*?) M\:(.*?) E\:(.*?)\% W\:(.*?)\% B\:(.*?)\% Dev\:(.*?)\% XP\:(.*?)\% \[(.*?)\]$

To match on the prompt, it does match if there's a linebreak following the prompt, but the MUD doesn't automatically give you such a linebreak, and often times adds more to the prompt line than just the prompt. Any way I can have MUSH match a line without waiting for the linebreak?
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #1 on Fri 21 Nov 2008 09:22 AM (UTC)
Message
Some self-advertisements might be in order. *eyeshift*

I wrote a number of scripts for MUSHclient, one of them is to tackle this plugin. Some of them were more or less inspired by works of others at the time, so I can't honestly say how much me or others there is in there anymore, but that's besides the point. At:

http://forums.aetolia.com/index.php?showtopic=7982

you'll find a page with numbers of plugins listed. Ignore the credits stuff, and go a few posts down to find the free Prompt Pack. You essentially will want the PromptCleanup plugin combined with the MUSHclient 'Convert EOR/GA to newline' option. This makes sure you can trigger the prompt while the plugin makes sure the side-effect of an extra blank line for each prompt is taken care of.

(The PromptTweak plugin might or might not be useful to you, it supports a number of different prompts although devotion and experience are not supported, so you might as well ignore that one.)
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


8,683 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.