Op Alias
Posted: Mon Oct 29, 2012 11:55 am
My 1st post here.. sup
Question regarding alias.. I can understand the format/regex portion of it but trying to copy alias from mibbit where I can op someone by command "/op someone"
I know the full command is /mode #Chan +o Someone
param1 would be #Chan and Param2 would be someone, so %1 and %2?
was trying this and was closest I got
alias op {
format ".+" {
command mode;
type real;
parameters "+o %2";
};
type command;
};
just not sure if format is right and how to arrange params :/.I spent 2 days googling "/op alias unrealircd" "setting op via alias" and "/mode +o alias unrealircd" .. results came up .. just not ones im looking for.
Question regarding alias.. I can understand the format/regex portion of it but trying to copy alias from mibbit where I can op someone by command "/op someone"
I know the full command is /mode #Chan +o Someone
param1 would be #Chan and Param2 would be someone, so %1 and %2?
was trying this and was closest I got
alias op {
format ".+" {
command mode;
type real;
parameters "+o %2";
};
type command;
};
just not sure if format is right and how to arrange params :/.I spent 2 days googling "/op alias unrealircd" "setting op via alias" and "/mode +o alias unrealircd" .. results came up .. just not ones im looking for.