syntax: /opme /dopme /vme /devme. must have access on channel. paste to new remotes.
alias opme { mode $active +o $me } alias dopme { mode $active -o $me } alias vme { mode $active +v $me } alias devme { mode $active -v $me }
I presume people who use it already have the proper status. :P You get an error when trying to give another person a mode without the privilege. Incidentally, though, it's an alias; you shall know your place.
Jethro that wouldn't work unless you already had +a or +q or were an IRCop....
alias mm mode $active $replace($$1,op,+o,deop,-o,v,+v,dv,-v) $me
hmm. nice. never thought of that. thanks.
You could do it like so;
Alias Mm { if ($1 == op) mode $active +o $me if ($1 == deop) mode $active -o $me if ($1 == v) mode $active +v $me if ($1 == dv) mode $active -v $me }
/mm op, deop, v, dv
you don't need the /'s in the code. just an fyi