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 ➜ Sending %7 from a trigger

Sending %7 from a trigger

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


Posted by Shazaam   (2 posts)  Bio
Date Mon 14 Nov 2005 11:08 PM (UTC)
Message

Hi, first I wan't to say thanks for the great client.

I am trying to reset my mud prompt when certain conditions are met using a trigger.

The triggering text is "
You can ask favors of your GOD again\.
(regular expression), and the response that I want to send is
prompt <%h/%Hhp %m/%Mmana %v/%Vmoves %7 %q %t %B {MDI{x>
But mushclient seems to be trying to interpret %7 as an asterisk in the trigger, when I want to send a literal %7. Is there an escape character that I can use or something? I tried /%7, but that didnt seem to help.

Thanks,
Shazaam

Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 14 Nov 2005 11:35 PM (UTC)
Message
Use %%7

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Shazaam   (2 posts)  Bio
Date Reply #2 on Tue 15 Nov 2005 12:37 AM (UTC)
Message
Sweet, thanks nick :)

Shazaam
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.


10,205 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.