OPS


about


author:Bart Thate <bthate@gmail.com>
contact:IRCNET/#dunkbots
distribution:core
license:MIT

description


for op to work for a user the user must have the channel name in his/hers status .. use !user-addstatus <username> #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-snoop .. ops-cfgsave .. ops-permdel .. splitted-clear .. ops-permadd .. op

  1. op .. [handle_op1]

    description:op [<nick>] .. op an user
    permissions:USER
    code:op command.
    examples:
    <user> ;op
    <output> done - op
    <user> ;op dunker
    <output> done - op
  2. ops-cfg .. [cmnd_cfg]

    description:the config (cfg) command.
    permissions:OPER
    code:jsb.plugs.socket.ops_ops-cfg_command.
    examples:
    <user> ;ops-cfg
    <output> options: cfile="/home/bart/.jsb/config/plugs/jsb.plugs.socket.ops" .. datadir="/home/bart/.jsb" .. dir="/home/bart/.jsb/config" .. filename="plugs/jsb.plugs.socket.ops" .. hide=[] .. isdb=False .. isgae=False .. issaved=True .. jsondb=None .. modname="jsb.plugs.socket.ops" .. oponsplit=0 .. origdir="/home/bart/.jsb" .. origname="plugs/jsb.plugs.socket.ops" .. plugname="ops" - 1 more
  3. ops-cfgsave .. [cmnd_cfgsave]

    description:save config.
    permissions:OPER
    code:jsb.plugs.socket.ops_ops-cfgsave_command.
    examples:
    <user> ;ops-cfgsave
    <output> config saved
  4. ops-permadd .. [handle_permadd]

    description:[]
    permissions:OPER
    code:ops-permadd command.
    examples:
    <user> ;ops-permadd dunker
    <output> test@test is already in permops list
  5. ops-permdel .. [handle_permdel]

    description:[]
    permissions:OPER
    code:ops-permdel command.
    examples:
    <user> ;ops-permadd dunker
    <output> test@test is already in permops list
  6. ops-snoop .. [handle_opsnoop]

    description:show in which channels opping is disabled
    permissions:OPER
    code:ops-snoop command.
    examples:
    <user> ;ops-snoop
    <output> opping is disabled in None
  7. splitted .. [handle_splitted]

    description:splitted .. show splitted list
    permissions:OPER
    code:splitted command.
    examples:
    <user> ;splitted
    <output> none
  8. splitted-clear .. [handle_splittedclear]

    description:splitted-clear .. clear splitted list
    permissions:OPER
    code:splitted-clear command.
    examples:
    <user> ;splitted-clear
    <output> done

Table Of Contents

Previous topic

MPD

Next topic

RESTSERVER

This Page