I'm trying to create an alias but the syntax is alluding me.
I want to be able to use /umode +whater to set usermodes instead of typing /mode my_nick +whatever
any help on that?
alias
Ever tried /umode2 ?
Also try this alias:
Also try this alias:
Code: Select all
alias "umode" {
format ".+" {
command "umode2";
type real;
parameters "%1-";
};
type command;
};
Try "/quote umode2" then? If that works im guessing youre using a client which like IRSSI doesnt forward any unknown commands to the server as if you did "/quote COMMAND"
The UMODE2 command has been around for a long time in Unreal as far as I now
Youd have to ask a dev which version it arrived in though. But to be honest if youre using a version that old then you really should upgrade.
Also I found some alias code for unrealircd.conf on the bug tracker which as far as I can see should work (same as the alias block I posted above with 3.2.6). The code below was posted by aquanight at http://bugs.unrealircd.org/view.php?id=3295
The UMODE2 command has been around for a long time in Unreal as far as I now
Youd have to ask a dev which version it arrived in though. But to be honest if youre using a version that old then you really should upgrade.
Also I found some alias code for unrealircd.conf on the bug tracker which as far as I can see should work (same as the alias block I posted above with 3.2.6). The code below was posted by aquanight at http://bugs.unrealircd.org/view.php?id=3295
Code: Select all
alias "umode" {
format "^$" {
type real;
command "mode";
parameters "%n";
};
format "^.+$" {
type real;
command "mode";
parameters "%n %1-";
};
};