toggleop is an irssi script which simply toggles your operator status on the current channel.
When used with some keybinding (see "Notes" section below), it can be a nice way to easily get operator privileges only when needed.
| Name | Description | Default value |
|---|---|---|
| toggleop_op_command | The command to perform when the /toggleop command is called and you are not operator. | msg ChanServ op $C $N |
| toggleop_deop_command | The command to perform when the /toggleop command is called and you are operator. | deop $N |
Once the script is loaded, you can use the additional command /toggleop.
toggleop_op_command.toggleop_deop_command.toggleop_op_command sends a message to the ChanServ bot. Of course, if there is no ChanServ bot on the server or if you are not allowed to become an operator, it will not work.../toggleop command. For example, type "/bind ^O /toggleop" to switch your operator status whenever you press Ctrl+O.This script was written by David Ammouial.