24
edits
Changes
added @fight documentation
Zoia is the Code4Lib [http://en.wikipedia.org/wiki/Internet_Relay_Chat_bot IRC (Internet-relay-chat) bot].
It was named after the famous librarian, [http://en.wikipedia.org/wiki/Zoia_Horn Zoia Horn], who is considered to be the first librarian ever to be jailed for refusing to divulge information that violated her belief in intellectual freedom.
<tt>
@list Lolz<br>
:<zoia> lolz
</tt>
<tt>
@help lolz<br>
:<zoia> (lolz <phrase>) -- Translates English into Lolcat using http://speaklolcat.com/
</tt>
To run the command, precede it with an at-sign ('@') in the channel:
<tt>
@lolz<br>
:<zoia> OH HAI THAR
</tt>
==Registering with Zoia==
Certain commands (for instance, ''tweet'') will only work if you have registered your IRC nickname with Zoia.
To do that, first send Zoia a '''Register''' command:
<pre lang="text">
/msg zoia register ''[IRC_nickname]'' ''[password]''
</pre>
After that, any time you are on the Code4Lib channel and want to use a command that requires registration, first send Zoia the '''Identify''' command:
<pre lang="text">
/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==
*'''@whoami'''
<pre>
pmurray: @whoami
zoia: pmurray
</pre>
*'''@helpers''' ''List people who have self-identified as willing to be able to assist with IRC''
<pre>
pberry: @helpers
zoia: List of active #code4lib helpers (@help helpers for details): anarchivist, gsf, mbklein, mistym, rsinger, ruebot
</pre>
* '''@coffee'''
<pre>
ruebot: @coffee pberry
zoia brews and pours a cup of Guatemala El Diamante, and sends it sliding down the bar to pberry
</pre>
* '''@karmafight'''awead<pre>todrobbins: @karmafight MARC RDA BIBFRAMEzoia: todrobbins: MARC: 46100000, RDA: 2090000, BIBFRAME: 2990</pre>
*'''@naf''' ''Search the national authority file''<pre>bohyunkim: @naf kazantzakiszoia: aweadbohyunkim: Highest karma: "mbklein" (529)[2 matches] [1] Kazantzakis, "mistym" (365)Nikos, and "edsu" (341). Lowest karma1883-1957 <http: "iii" (//errol.oclc.org/laf/n79-102)100889.html>; [2] Kazantzakis, "rhel" (-45), and "contentdm" (-22)Helen <http://errol. You (awead) are ranked 23 out of 1885oclc.org/laf/n82-70274.html></pre>
* '''@quotemarc''' ''Look up MARC tags''emorgan<pre>bohyunkim: @quote randommarc 245zoia: bohyunkim: The title and statement of responsibility area of the bibliographic description of a work. [a,b,c,f,g,h,k,n,p,s,6,8]</pre>
* '''@tweet''' ''Send a tweet from the bot4lib Twitter account''
Requires Zoia identification/registration.
<pre>
edsu: @tweet please Hammerism don't hurt 'em
zoia: edsu: The operation succeeded.
</pre>
* '''@karma''' ''Gives Karma stats''
<pre>
awead: @karma
zoia: awead: Highest karma: "mbklein" (529), "mistym" (365), and "edsu" (341). Lowest karma: "iii" (-102), "rhel" (-45), and "contentdm" (-22). You (awead) are ranked 23 out of 1885.
</pre>
Give someone/something karma with <tt>++</tt> anywhere in a line
<pre>
joes: props to edsu++ for the nodejs++ Wikipedia edits page
</pre>
Take away someone/something's karma with <tt>--</tt> anywhere in a line
<pre>
frankn: congress--
</pre>
* '''@quote''' ''Get or add quotes''
<pre>
emorgan: @quote random
zoia: emorgan: Quote #421: "< edsu> heartlessdicatoators4lib" (added by gsf at 04:51 PM, September 20, 2006)
gsf: @quote add <mjgiarlo> the goal, IMO, is to avoid being a technocracy and also to avoid being a null-tech oligarchy.zoia: gsf: The operation succeeded. Quote #255 added.</pre>Command also has <tt>change</tt>, <tt>cited</tt>, <tt>derp</tt>, <tt>get</tt>, <tt>random</tt>, <tt>raw</tt>, <tt>remove</tt>, <tt>search</tt>, and <tt>stats</tt>.
mistym: @praise the end of the all-day meetings
zoia: radiation has made the end of the all-day meetings an enemy of civilization
</pre>
Command also has <tt>add</tt>, <tt>change</tt>, <tt>get</tt>, <tt>remove</tt>, <tt>search</tt>, and <tt>stats</tt>.
* '''@insult''' ''Give random insults''<pre>
bohyunkim: @insult z39.50
zoia: z39.50: You are nothing but a ruttish half-mouthful of clouted urine.
</pre>
Command also has <tt>add</tt>, <tt>change</tt>, <tt>get</tt>, <tt>remove</tt>, <tt>search</tt>, and <tt>stats</tt>.
* '''@singblame''' ''It wasn't you, so what was the problem?''lbjayWhen adding a ''blame'' string, include the string '$who' -- it will serve as a placeholder for the input string.<pre>mistym: @sing MC Hammerblame add Pray sir, if I input the wrong commands, will $who output the right results?zoia: mistym: The operation succeeded. Blame #161 added.
* '''@tweet sing''' ''Display lyrics from lyricsmania.com''edsuUsage: <tt>sing artist [: title] [: * | line | pattern]</tt><pre>frankn: @tweet please Hammerism donsing bon jovi : wanted dead or alivezoia: I't hurt d drive all night / Just to get back home / I'emm a cowboy, on a steel horse I ride / I'm wanted dead or alive</pre>
* '''@helphussein'''' ''Like <tt>@ana</tt>, but appends the string 'hussein' before anagramming''<pre>mistym: @hussein learning is funzoia: mistym: Huge flair in sunniness</pre>Inside joke?
* '''@etym''' Get the etymology of a word<pre>bohyunkim: @etym guestzoia: mistymbohyunkim: 'Old English gæst, giest (register <name> <password>Anglian gest) -- Registers <name> with the given password <password> and the current hostmask of the person registering. You shouldn't register twice"guest; if you're not recognized as a user but you've already registeredenemy; stranger, use " the hostmask add command to add another hostmask to your alreadycommon notion being "stranger," from Proto-registered userGermanic *gastiz (cf. Old Frisian jest, or use the identify command to identify just for a session. This command Dutch gast, German Gast, Gothic gasts "guest," originally "stranger"), from PIE root *ghosti- "strange" (and all other commands 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>