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 ➜ Help with an alias

Help with an alias

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


Posted by YmerejO42   USA  (25 posts)  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?
Top

Posted by Twisol   USA  (2,257 posts)  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
Top

Posted by Nick Gammon   Australia  (23,133 posts)  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
Top

Posted by YmerejO42   USA  (25 posts)  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.
Top

Posted by Twisol   USA  (2,257 posts)  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
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.


18,743 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.