======
 CORE 
======
| 

about
-----
| 

:author:  Bart Thate <bart@gozerbot.org>
:contact: IRCNET/#dunkbots
:website: http://plugins.gozerbot.org
:license: Public Domain
 
| 

description
-----------
| 

core commands for the bot

| 

commands
--------
| 


1) apro (apropos)

    apro <what> .. search for commands that contain <what>

    ::

        <user> !apro com
        <output> 1) commands .. 2) hg-committers (committers)

2) available

    show what plugins are available

    ::

        <user> !available
        <output> 8b .. alarm .. alert .. alias .. autoreply .. autovoice .. away .. birthday .. botsnack .. chanperm ..
        <output>  choice .. code .. collective .. convert .. core .. count .. country .. dig .. dns .. event .. fleet
        <output>  .. googletalk .. greeting .. grep .. hello .. hg .. housetier .. idle .. ignore .. infoitem .. install
        <output>  .. irc .. jabber .. jcoll .. job .. karma .. lag .. lart .. limiter .. links .. lists .. log .. mail
        <output>  .. mailexceptions .. markov .. misc .. mono .. nickcapture .. nickserv .. not .. ops .. pgp .. popcon
        <output>  .. probe .. quote .. relay .. reload .. remind .. rest .. reverse .. rss .. search .. shop .. size ..
        <output>  snarf .. tail .. tell .. timer .. tinyurl .. to .. todo .. topic .. udp .. umode .. update .. upgrade
        <output>  .. user .. webserver .. wikipedia

3) cc

    set control char of channel or show control char of channel

    ::

        <user> !cc !
        <output> control char set to !

    ::

        <user> !cc
        <output> control character(s) for channel #test are/is !

4) cc-add

    cc-add <control char> .. add control character

    ::

        <user> !cc-add #
        <output> control char # added

5) cc-del

    cc-del <control character> .. remove cc

    ::

        <user> !cc-del #
        <output> control char # deleted

6) commands

    show commands of <plugin>

    ::

        <user> !commands core
        <output> apro (apropos) .. available .. cc .. cc-add .. cc-del .. commands .. encoding .. help .. intro .. less
        <output>  .. less-size .. list (ll) .. loglevel .. more .. party-loud .. party-silent .. partylist .. perm ..
        <output>  quit (halt) .. reboot .. running .. save .. u .. uptime (up) .. userhostcache .. version (mekker) ..
        <output>  whatperms .. whereis

7) encoding

    show default encoding

    ::

        <user> !encoding
        <output> default encoding is utf-8

8) help

    get help on <cmnd> or <plugin>

    ::

        <user> !help test
        <output> command description of test: give test response .. alias: None .. examples:  test

    ::

        <user> !help misc
        <output> plugin description: miscellaneous commands .. commands: active (a) .. dayline (dl) .. line (l) .. ps
        <output>  .. response .. source (about) .. test .. time (t)

9) intro

    intro <nick>

    ::

        <user> !intro dunker
        <output> whois command send

10) less

    less [<who>] [<index1>] <index2> .. get txt from bots output cache

    ::

        <user> !less 0
        <output> no data available for test 0 0

    ::

        <user> !less 0 2
        <output> no data available for test 0 2

    ::

        <user> !less bart 1 0
        <output> no data available for bart 1 0

11) less-size

    show sizes of data in bot's ouput cache

    ::

        <user> !less-size

12) list (ll)

    list registered plugins or list commands in plugin

    ::

        <user> !list
        <output> 8b .. alarm .. alert .. alias .. autoreply .. autovoice .. away .. birthday .. botsnack .. chanperm ..
        <output>  choice .. code .. collective .. convert .. core .. count .. country .. dig .. dns .. event .. fleet
        <output>  .. googletalk .. greeting .. grep .. hello .. hg .. housetier .. idle .. ignore .. infoitem .. install
        <output>  .. irc .. jabber .. jcoll .. job .. karma .. lag .. lart .. limiter .. links .. lists .. log .. mail
        <output>  .. mailexceptions .. markov .. misc .. mono .. nickcapture .. nickserv .. not .. ops .. pgp .. popcon
        <output>  .. probe .. quote .. relay .. reload .. remind .. rest .. reverse .. rss .. search .. shop .. size ..
        <output>  snarf .. tail .. tell .. timer .. tinyurl .. to .. todo .. topic .. udp .. umode .. update .. upgrade
        <output>  .. user .. webserver .. wikipedia

    ::

        <user> !list rss
        <output> rss-add .. rss-addchannel .. rss-additemslist .. rss-channels .. rss-del .. rss-delchannel .. rss-delitemslist
        <output>  .. rss-feeds .. rss-get .. rss-itemslist .. rss-list .. rss-running .. rss-scan .. rss-setsleeptime
        <output>  .. rss-sleeptime .. rss-stopwatch .. rss-sync .. rss-url .. rss-watch

13) loglevel

    get/set current loglevel .. the lower the loglevel the more the bot logs

    ::

        <user> !loglevel
        <output> loglevel is 100

    ::

        <user> !loglevel 0
        <output> loglevel is now 0

14) more

    return txt from output cache

    ::

        <user> !more
[03:54:03] (eventhandler) test (test@test) executing more
        <output> no more data available for test

15) party-loud

    enable partyline noise

    ::

        <user> !party-loud
[03:54:03] (eventhandler) test (test@test) executing party-loud
        <output> partyline put to loud mode

16) party-silent

    disable partyline noise

    ::

        <user> !party-silent
[03:54:03] (eventhandler) test (test@test) executing party-silent
        <output> partyline put to silent mode

17) partylist

    show connected partylist users

    ::

        <user> !partylist
[03:54:03] (eventhandler) test (test@test) executing partylist
        <output> no party yet!

18) perm

    show permission of command

    ::

        <user> !perm quit
[03:54:03] (eventhandler) test (test@test) executing perm quit
        <output> quit command needs ['OPER'] permission

19) running

    show from which files threads are running

    ::

        <user> !running
[03:54:03] (eventhandler) test (test@test) executing running
        <output> gotpong = 6 .. Alarms.check = 1 .. Commandhandler.handleloop = 1 .. BotHTTPServer.run = 1 .. Activechecker.checkone
        <output>  = 1 .. MainThread = 1 .. Activechecker.checker = 1 .. handle_running = 1 .. Rsswatcher.watch = 1 ..
        <output>  Periodical.checkloop = 1 .. Udplistener.listen = 1 .. Outputhandler.handleloop = 1 .. markovlearnlog
        <output>  = 1

20) save

    save bot data

    ::

        <user> !save
[03:54:03] (eventhandler) test (test@test) executing save
[03:54:03] (karma) gozerdata karma saved
[03:54:03] (karma) gozerdata reasonup saved
[03:54:03] (karma) gozerdata reasondown saved
[03:54:03] (karma) gozerdata whoup saved
[03:54:03] (karma) gozerdata whodown saved
[03:54:03] (logs) loglist saved
[03:54:03] (persist) gozerdata/idle saved
[03:54:03] (persist) gozerdata/fleet saved
        <output> saving .. .. done

21) u

    u <nick> .. get userhost cache entry for <nick>

    ::

        <user> !u dunker
[03:54:03] (eventhandler) test (test@test) executing u dunker
        <output> bart@gozerbot.org

22) uptime (up)

    show uptime of the bot

    ::

        <user> !uptime
[03:54:03] (eventhandler) test (test@test) executing uptime
        <output> uptime is 2 seconds

23) userhostcache

24) version (mekker)

    show version of the bot

    ::

        <user> !version
[03:54:03] (eventhandler) test (test@test) executing version
        <output> GOZERBOT 0.7-BETA HG revision 1583

25) whatperms

26) whereis

    whereis <cmnd> .. show in which plugins <what> is

    ::

        <user> !whereis test
[03:54:03] (eventhandler) test (test@test) executing whereis test
        <output> misc
[03:54:03] (GOZERBOT) shutting down
[03:54:03] (eventhandler) stopping <gozerbot.eventhandler.Commandhandler object at 0xb7b30a8c>
[03:54:03] (test) stopped
[03:54:03] (eventhandler) stopping <gozerbot.eventhandler.Outputhandler object at 0xb7dba5ec>
[03:54:03] (persist) gozerdata/test.channels saved
[03:54:03] (persist) gozerdata/test.state saved
[03:54:03] (test) exit
[03:54:03] (karma) gozerdata karma saved
[03:54:03] (karma) gozerdata reasonup saved
[03:54:03] (karma) gozerdata reasondown saved
[03:54:03] (karma) gozerdata whoup saved
[03:54:03] (karma) gozerdata whodown saved
[03:54:03] (logs) loglist saved
[03:54:03] (persist) gozerdata/idle saved
[03:54:03] (periodical) killed 1 jobs for popcon
[03:54:03] (periodical) killed 1 jobs for lag
[03:54:03] (plugins) popcon shutdown
[03:54:03] (plugins) alarm shutdown
[03:54:03] (markov) learning #test log done
[03:54:03] (collective) 213.196.7.59:8088 added to active list
[03:54:03] (collective) 81.173.19.105:8088 added to active list
[03:54:03] (collective) 81.173.19.71:8088 added to active list
[03:54:03] (collective) 83.98.249.137:8888 added to active list
[03:54:03] (webserver) stopping
[03:54:06] (plugins) webserver shutdown
[03:54:06] (plugins) rss shutdown
[03:54:06] (plugins) udp shutdown
[03:54:06] (plugins) lag shutdown
[03:54:06] (plugins) collective shutdown
[03:54:06] (GOZERBOT) done
