[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Help with an alias

Help with an alias

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


Posted by YmerejO42   USA  (25 posts)  [Biography] bio
Date Tue 14 Jun 2011 03:48 AM (UTC)
Message
I'm sure this is something simple, but is there a way to get MUSH to parse aliases BEFORE it passes the text to the MUD?

For example, I'm trying to create an alias for Aard, so I can use "r <reply>" to reply to a tell. The problem is, for Aard, "r" is a shortcut for remove.

Every time I type my command, it errors because it's trying to remove whatever piece of equipment would be closest to the message I'm trying to send, instead of parsing the command to my alias.

Help?
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #1 on Tue 14 Jun 2011 04:10 AM (UTC)
Message
That's usually how aliases work: if an alias matches, it stops the input from being sent. Do you have any other aliases that might be matching it and sending it manually, with "keep evaluating" enabled?

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Tue 14 Jun 2011 04:44 AM (UTC)
Message
Please show us your alias.

Template:copying For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by YmerejO42   USA  (25 posts)  [Biography] bio
Date Reply #3 on Tue 14 Jun 2011 04:56 AM (UTC)
Message
When I was starting to copy/paste it in here, I figured out what was wrong. I'd forgotten to make it "r *", so it wasn't picking it up because there were words after it.

I feel like an idiot.
[Go to top] top

Posted by Twisol   USA  (2,257 posts)  [Biography] bio
Date Reply #4 on Tue 14 Jun 2011 05:48 AM (UTC)
Message
No worries, we're all idiots sometimes. :) It's a common mistake.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
[Go to top] 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.


16,663 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]