Aliasing.

Posted by Wyna on Thu 15 Dec 2005 02:38 PM — 2 posts, 10,798 views.

#0
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?
Amended on Thu 15 Dec 2005 02:44 PM by Wyna
Australia Forum Administrator #1
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>