.. _plugin:ops: === OPS === | about ----- | :author: FeedBackLoop :contact: FREENODE/#fbf :distribution: core :license: | description ----------- | for op to work for a user the user must have the channel name in his/hers status .. use !user-addstatus #channel normally the bot doesnt op nicks that join after a split to prevent floods, this can be disabled by using ops-cfg oponsplit 1 | commands -------- | :commands in this plugin: ops-cfg .. splitted .. ops-cfgsave .. ops-snoop .. ops-cfgdefined .. splitted-clear .. ops-permadd .. op .. ops-permdel | 1) *op .. [handle_op1]* :description: op [] .. op an user :permissions: USER :code: :ref:`fbf.plugs.extra.ops_op_command`. :examples: :: ;op done - op :: ;op dunker done - op 2) *ops-cfg .. [cfg]* :description: the config (cfg) command. :permissions: OPER :code: :ref:`fbf.lib.persistconfig_PersistConfig_class`. :examples: :: ;ops-cfg options: cfile="docs/docrun/config/plugs/fbf.plugs.extra.ops" .. datadir="docs/docrun/" .. dir="docs/docrun/config" .. filename="plugs/fbf.plugs.extra.ops" .. hide=[] .. issaved=True .. jsondb=None .. logname="config/plugs/fbf.plugs.extra.ops" .. modname="fbf.plugs.extra.ops" .. oponsplit=0 .. origdir="docs/docrun" .. origname="plugs/fbf.plugs.extra.ops" .. plugname="ops" .. - 1 more 3) *ops-cfgdefined .. [cfgdefined]* :description: show defined attributes. :permissions: OPER :code: :ref:`fbf.lib.persistconfig_PersistConfig_class`. :examples: :: ;ops-cfgdefined cfg has the following options defined: cfile, datadir, dir, filename, hide, issaved, jsondb, logname, modname, oponsplit, origdir, origname, plugname, port, uuid 4) *ops-cfgsave .. [cfgsave]* :description: save config. :permissions: OPER :code: :ref:`fbf.lib.persistconfig_PersistConfig_class`. :examples: :: ;ops-cfgsave config saved 5) *ops-permadd .. [handle_permadd]* :description: [] :permissions: OPER :code: :ref:`fbf.plugs.extra.ops_ops-permadd_command`. :examples: :: ;ops-permadd dunker added test@test to the permenent ops list 6) *ops-permdel .. [handle_permdel]* :description: [] :permissions: OPER :code: :ref:`fbf.plugs.extra.ops_ops-permdel_command`. :examples: :: ;ops-permadd dunker test@test is already in permops list 7) *ops-snoop .. [handle_opsnoop]* :description: show in which channels opping is disabled :permissions: OPER :code: :ref:`fbf.plugs.extra.ops_ops-snoop_command`. :examples: :: ;ops-snoop opping is disabled in None 8) *splitted .. [handle_splitted]* :description: splitted .. show splitted list :permissions: OPER :code: :ref:`fbf.plugs.extra.ops_splitted_command`. :examples: :: ;splitted none splitted 9) *splitted-clear .. [handle_splittedclear]* :description: splitted-clear .. clear splitted list :permissions: OPER :code: :ref:`fbf.plugs.extra.ops_splitted-clear_command`. :examples: :: ;splitted-clear done