Multiple aliases in one - OR ALIAS?

Posted by ErockMahan on Thu 05 Jul 2007 10:30 PM — 2 posts, 13,088 views.

#0
I know someone with two characters. They are named Bob and Doug (not really, but this is an example). I have a bad memory, so I write two aliases. One that does this:

match="whois bob"
<send>whois bob
whois doug</send>

Very simple and straightforward. Then, on one of my better days, I create the inverse of that:

match="whois doug"
<send>whois doug
whois bob</send>

That way I can remember either one of the two, and look up who both his characters are.

Being as popular as I am (who doesn't love a good healer?) I'm getting lots of friends with lots of characters, and keeping this many aliases is becoming cumbersome.

Is there any way I can do something like this:

match="whois doug|bob"
<send>whois doug
whois bob</send>
Australia Forum Administrator #1
Check the "regular expression" box for the alias. Then change the match text to:


match="^whois (doug|bob)$"