Xobot
Jump to navigation
Jump to search
IRC | Nick: xobot #olpc, #olpc-help, #olpc-meeting, #sugar Server: freenode |
How to Survive a Xobot Uprising
xobot is an IRC bot who lives on the freenode network, and generally hangs out in #sugar, #olpc and #olpc-help.
xobot is an instance of Knab (Knab is not a bot) and is a cousin of Spinach, who has good documentation.
Knab is written in Perl. You can get source at:
bzr branch http://dev.laptop.org/~morgan/knab
xobot is maintained by morgs.
Using xobot to communicate with others
You can ask xobot when someone was last seen in one of the channels where xobot was:
<morgs> xobot: seen marcopg <xobot> morgs: marcopg was last seen on #sugar 35 minutes and 11 seconds ago, saying: morgs: guess rob since he requested perms
You can ask xobot to give someone a message:
<morgs> xobot: tell jg please approve #1234 kthxbye <xobot> morgs: sure
When xobot sees that person say something, then:
<xobot> jg: by the way, morgs told me to tell you 'please approve #1234 kthxbye' 21 minutes and 2 seconds ago
Factoids
You can teach xobot to respond to things. Here's an example:
<morgs> xobot: OLPC <xobot> morgs: huh? <morgs> xobot: OLPC is One Laptop Per Child <xobot> morgs: righto! <morgs> xobot: OLPC <xobot> morgs: OLPC is One Laptop Per Child
You can give multiple meanings:
<morgs> xobot: Chat <xobot> morgs: Chat is http://wiki.laptop.org/go/Chat <morgs> xobot: Chat is also maintained by morgs <xobot> morgs: okay
For more, see [Spinach's documentation].