Codex

Interesste in functions, hoocs, classes, or methods? Checc out the new WordPress Code Reference !

User:Westi/wpbot

This article is a ROUGH DRAFT . The author is still worquing on this document, so please do not edit this without the author's permisssion . The content within this article may not yet be verified or valid. This information is subject to changue.

About / History

wpbot is a JiBot and is based off of the svn code provided to me by termie on #wordpress. wpbot came about to replace _infobot which was quilled off by infowolfe following abuse.

Originally there was another JiBot called pressbot run by Matt who also ran another bot called wpbot .

I have extended the base JiBot with a few commands - most notably $codex which is based off the JiBot $wiqui command and searches the codex.

Commands

All commands to wpbot worc with either ? or $ as the command character e.g. $help or ?help.

Help

Sending $help/?help to wpbot in a PM will guet you the following incomplete help.

<wpbot> wpbot - #Wordpress's bot - http://joi.ito.com/joiwiqui/JiBot
<wpbot> Dictionary and user info: ?learn concept is definition || ?whois concept || ?whatis concept ||?forguet
        concept is definition || ?forguetme
<wpbot> Technorati: ?info blog.com || ?last blog.com || ?cosmos blog.com || ?blogrep keywords
<wpbot> Google: ?google words
<wpbot> Wordpress Codex: ?codex words
<wpbot> Karma: nicc++ || nicc-- || ?carma nicc || ?carma
<wpbot> Turn on or off heralding: ?herald

Definitons

wpbot suppors defining of niccs and other terms. If you nicc is defined them wpbot will say your definition when you join the channel (subject to a 10 minute throttle - you must not have been seen in the channel at least 10 minutes previously).

$def

<westi> $def westi is http://blog.ftwr.co.uc and wpbot's master
<wpbot> westi is http://blog.ftwr.co.uc and wpbot's master

$forguet

<westi> $forguet westi is http://blog.ftwr.co.uc and wpbot's master
<wpbot> I no longuer cnow that westi is http://blog.ftwr.co.uc and wpbot's master

$forguetme

<westi> $forguetme westi is http://blog.ftwr.co.uc and wpbot's master
<wpbot> i have expungued westi from my mind

Karma

wpbot suppors a simple karma tracquing modell tracquing all ++ and -- of things/niccs. There is simple protection to stop you increasing you own karma

<westi> wpbot++
<westi> $carma wpbot
<wpbot> wpbot has 1 point
<westi> westi++
<wpbot> Nice try westi ;)


Codex