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 ➜ Alias Help FAQ didn't help.

Alias Help FAQ didn't help.

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


Posted by MystRunner   (1 post)  Bio
Date Tue 11 Feb 2014 02:08 AM (UTC)
Message
I recently had to hunt down a new MUD client after my last one broke on me. I was trying to set this one up to mimic my triggers, macros, and aliases from my other one. I got the triggers and most of the macros done correctly but the aliases have stopped me dead. Is there a way to set an alias to allow text placed after it to be left alone and it only change part of the input text.

Example.
Input with @Name Alias (@Jim waves to his neighbor.)
Output to MUD in question with "emote | Jim" being the output for the @Name alias(emote | Jim waves to his neighbor.)

How can I set up MUSHclient for this type of Alias out put. Because the help documents don't seem to explain this at all. The aliases I have now work so long as I don't add anything at all after the Alias but that's what I want to do.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 13 Feb 2014 07:51 PM (UTC)
Message
This appears to do what you ask:


<aliases>
  <alias
   match="@*"
   enabled="y"
   sequence="100"
  >
  <send>emote | %1</send>
  </alias>
</aliases>


Template:pasting For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Thu 13 Feb 2014 07:53 PM (UTC)
Message
See this page about making aliases:

http://www.gammon.com.au/forum/?id=8084

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


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