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 ➜ Aliasing.

Aliasing.

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


Posted by Wyna   (1 post)  Bio
Date Thu 15 Dec 2005 02:38 PM (UTC)

Amended on Thu 15 Dec 2005 02:44 PM (UTC) by Wyna

Message
I've been using Zmud for a while and just moved to MushClient. I really like the way this client looks, but I'm having trouble moving my aliases and triggers.

Say that I'm wanting to send @force #00000=COMMAND to the world, but I would only like to type /COMMAND to send it. The command is the only changing part.

For example, in Zmud I would type "/ *" as the alias and "@force #00000=%1" as the command.

Can anyone help me?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 16 Dec 2005 08:33 AM (UTC)
Message
You should be able to simply make an alias that matches o:

Match: / *

and sends: @force #00000=%1


Your only problem will be that the default "scripting prefix" in MUSHclient is "/" so that the command will be sent to the script engine and not interpreted as an alias.

Either, make a different prefix for yourself (eg. # *) or, change the scripting prefix in the script configuration window to something else, or nothing, if you don't want to do script commands in the command window.

Here is what the alias would look like:


<aliases>
  <alias
   match="/*"
   enabled="y"
   sequence="100"
  >
  <send>@force #00000=%1
</send>
  </alias>
</aliases>



- Nick Gammon

www.gammon.com.au, www.mushclient.com
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,572 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.