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 ➜ Non-Exact Alias's

Non-Exact Alias's

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


Posted by Kaos   (3 posts)  Bio
Date Sun 26 Aug 2001 09:15 PM (UTC)
Message
Ok, i've been told to use a different client cause this one isn't smart enough. But i have to disagree. It's just different and i don't know how to use it as well as i wish i could. Now my question is on how to make non-exact alias...this is what i mean

I type chat <message>
i want something to appear before my message AND after my message, but i only wanna have to type "Chat <my message> and have them appear. How would i go about that? This might be a trigger.....i don't know. I wold be much abliged if you could help.
Thanks
icq=18541464 if ya need direct contact to me. :)

~Kaos~
Top

Posted by Kaos   (3 posts)  Bio
Date Reply #1 on Sun 26 Aug 2001 09:21 PM (UTC)
Message
Just noticed how bad that explains

You Chat '<something here> <my message> <something here>

that's what i mean
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Sun 26 Aug 2001 10:16 PM (UTC)

Amended on Sun 26 Aug 2001 10:17 PM (UTC) by Nick Gammon

Message
To match on what you type is an alias, and you can make them non-exact, yes.

What you need to do is something like this:


Alias: mychat *
Send: chat <something here> %1 <something else>


What this will do is match on "mychat" followed by anything (you can make the word mychat anything of course, eg. just "chat"). The "anything" becomes wildcard 1.

Then when you send your response you put %1 in the middle which is where the wildcard replacement will be.

- Nick Gammon

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

Posted by Kaos   (3 posts)  Bio
Date Reply #3 on Sun 26 Aug 2001 10:58 PM (UTC)
Message
Perfect man, i understand. That worked out nicely :) I new this client could do it. I just never knew how. Hehe.
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.


11,662 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.