Non-Exact Alias's

Posted by Kaos on Sun 26 Aug 2001 09:15 PM — 4 posts, 15,315 views.

#0
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~
#1
Just noticed how bad that explains

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

that's what i mean
Australia Forum Administrator #2
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.
Amended on Sun 26 Aug 2001 10:17 PM by Nick Gammon
#3
Perfect man, i understand. That worked out nicely :) I new this client could do it. I just never knew how. Hehe.