|
Balin Newbie
Joined: 07 Jun 2002 Posts: 5 Location: USA
|
Posted: Mon Jun 10, 2002 1:21 am
Alias problem |
Is there a way to make an alias with the first part as the constant, and the rest as variable. For example to talk on a channel I want to be able to alias it 'c message' instead of 'clan message'. I'm setting this up so we can us Zchat instead of public channels to talk. Any help would be greatly appreciated as usual. Thanks.
-Balin |
|
|
|
dacheeba Adept
Joined: 29 Oct 2001 Posts: 250
|
Posted: Mon Jun 10, 2002 1:50 am |
Yup. The alias system works kind of l;ike the trigger, where the first word will be %1, the second will be %2, etc. Also you can use %-1 to indicate the first word and everything that comes after, of %-2 to indicate the second word and everything that comes after it. So your alias would look like this:
#ALIAS {c} {clan %-1} |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Jun 10, 2002 9:09 am |
Even better, an alias will, by default, append anything that follows it to the end of its action. So all you need is
#AL c {clan}
LightBulb
Vague questions get vague answers |
|
|
|
|
|