Changes

Jump to: navigation, search

Zoia or the Code4Lib IRC bot

506 bytes removed, 20:07, 11 March 2015
added @fight documentation
/msg zoia identify ''[IRC_nickname]'' ''[password]''
</pre>
''Note: Don't worry, "/msg" sends a private message, so no one in the chatroom will see your password. However, don't reuse a password you care about because IRC messages are not encrypted and could be sniffed.''
==Examples of Bot Commands==
pberry: @helpers
zoia: List of active #code4lib helpers (@help helpers for details): anarchivist, gsf, mbklein, mistym, rsinger, ruebot
</pre>
 
* '''@help''' ''Show whatever help is built into a bot's plugin''
Sometimes this is helpful, sometimes this is not.
<pre>
mistym: @help register
zoia: (register <name> <password>) -- Registers <name> with the given password <password> and the current hostmask of the person registering. You shouldn't register twice; if you're not recognized as a user but you've already registered, use the hostmask add command to add another hostmask to your already-registered user, or use the identify command to identify just for a session. This command (and all other commands (1 more message)
mistym: @more
@more
zoia: that include a password) must be sent to the bot privately, not in a channel.
</pre>
ruebot: @coffee pberry
zoia brews and pours a cup of Guatemala El Diamante, and sends it sliding down the bar to pberry
</pre>
 
* '''@fight'''
<pre>
todrobbins: @fight MARC RDA BIBFRAME
zoia: todrobbins: MARC: 46100000, RDA: 2090000, BIBFRAME: 2990
</pre>
zoia: bohyunkim: 'Old English g&aelig;st, giest (Anglian gest) "guest; enemy; stranger," the common notion being "stranger," from Proto-Germanic *gastiz (cf. Old Frisian jest, Dutch gast, German Gast, Gothic gasts "guest," originally "stranger"), from PIE root *ghosti- "strange" (cf. Latin hostis "enemy," hospes "host" -- from *hosti-potis "host, guest," originally "lord of strangers" -- Greek xenos "guest, host, stranger;" Old (1 more message)
</pre>
 
== Stacking Commands ==
It is possible to have the output of one command be the input of another using square brackets.
The results can be occasionally quite entertaining:
 
<pre>
pmurray: @mccainize [obamit [canuck [scalia [quote raw]]]]
zoia: pmurray: My friends, Look, zedoia's the 'closest' thing I get to regular human contact at wourk, eh?
</pre>
 
(You can <tt>@help</tt> the individual commands to see what each is adding along the way.)
==List of Plug-ins==
Acronym, Admin, Amazon, Anagram, Anonymous, ArtisanalIntegers, Assorted, Astro, AudioScrobbler, Babelfish, Band, Blame, Calais, Cast, Channel, ChannelLogger, Config, CyborgName, DBpedia, Debian, Delicious, Dict, Disclaimer, Disemvowel, Dunno, Eef, Etymology, FOAF, Filter, Fireworks, Fixit, Games, GasPrices, Gender, GeoIP, Git, Google, Greeter, Helpers, Herald, IPTools, Insult, Internet, IsItDown, Karma, Kombat, LCSH, Later, Levenshtein, LibraryThing, Linux, Lisppaste, Lolcat, Lolz, LoveHate, MARC, Math, Misc, Motivate, NACO, Nadsat, Nickometer, OCLC, Oblique, OpenDict, Owner, PDPC, Pinky, Pirate, Poll, Praise, Presidents, Quote, Reply, Sarge, Scrabble, Seen, Services, Sing, SocialGraph, StackEx, Stopwords, Tantrum, Todo, Traffic, Translators, TrueTrue, Twitter, TwitterSnarfer, URL, Uberblic, UnglueIt, Unicode, Unix, UrbanDict, User, WOTD, Web2, Webopedia, Wikileaks, WoGroFuBiCo, Wolfram, WordCount, WordStats, WrestlingName, Wunderground, Yelp, Yum, Zalgo, Zen, and Zillow
 
==Other Tidbits==
* To see available commands in each plugin, private message Zoia like this:
 
@list UrbanDict
 
zoia: urbandict
 
@list Band
 
zoia: band and oldband
 
@list Dunno
 
zoia: add, change, get, remove, search, and stats
 
* To see what a command in a plugin does, private message Zoia like this:
@help search
 
zoia: (search <word>) -- Searches for <word> in the current configuration variables.
 
* Also find #code4lib helpers by private msg-ing Zoia:
@helpers #code4lib
 
zoia: List of active #code4lib helpers (@help helpers for details): anarchivist, gsf, mbklein, mistym, rsinger, ruebot
==How to hack it==
24
edits

Navigation menu