Page 1 of 1

command aliases?

Posted: Mon Oct 10, 2005 8:05 am
by Blaza
Hello, is it possible to add command aliases liek this:

alias "whoami" {
format "" {
target "%n";
type normal;
parameters "/whois %n";
};
type command;
};

This doesnt seem to work, as it seems to me the alias directive may not be ment ot be used this way, but I'm wondering if it's possible to get this to work? (Or if there is another way entirely?)

Thanks.

Posted: Mon Oct 10, 2005 8:17 am
by Stealth
This cannot be done. This is a requested feature, and on codemastr's TODO list (that list is prolly outdated)

For those wondering, here is the feature request:
http://bugs.unrealircd.org/view.php?id=2137