Difference between revisions of "IRC Bot"

From Amahi Wiki
Jump to: navigation, search
Line 3: Line 3:
 
==Functions==
 
==Functions==
 
AmahiBot has a few interesting functions
 
AmahiBot has a few interesting functions
 +
 +
===Wiki===
 +
<pre>!wiki Wiki Article Name</pre> will return a wiki link for this wiki
 +
 
===Bug lookup===
 
===Bug lookup===
 
You can look up bugs from the Amahi bug tracker by saying:
 
You can look up bugs from the Amahi bug tracker by saying:
 
<pre>!bug BUG_NUMBER</pre>
 
<pre>!bug BUG_NUMBER</pre>
in the channel
+
 
 
===Factoids===
 
===Factoids===
 
You can store factoids for later with the following command:
 
You can store factoids for later with the following command:
Line 13: Line 17:
  
 
To list all available commands say <pre>!stored</pre>
 
To list all available commands say <pre>!stored</pre>
===Google searching===
 
Any of the following commands will search Google and return the results + URLs.
 
<pre>!google <define:|spell:> <search terms> <1+1> <1 cm in ft> <patent > <weather city|zip> <??? airport> <city,state/zip></pre>
 
<pre>!images <search terms></pre>
 
<pre>!groups <search terms></pre>
 
<pre>!local <what> near <where></pre>
 
<pre>!books <search terms></pre> 
 
<pre>!video <search terms></pre>
 
<pre>!fight <word(s) one> vs <word(s) two></pre>
 
  
===RSS Feeds===
+
===Twitter Feed===
Saying <pre>!amahi</pre> in the channel will show you the last twitter message posted to twitter.com/amahi
+
Saying <pre>!twitter</pre> in the channel will show you the last twitter message posted to twitter.com/amahi
 
 
===GreetLeave===
 
When a new user joins a channel a message is sent to them explaining how to get support
 
  
 
===Seen===
 
===Seen===
 
Say <pre>!seen USERNAME</pre> to find the last time that the user was in the channel
 
Say <pre>!seen USERNAME</pre> to find the last time that the user was in the channel
  
===Wiki===
+
===Google Searches===
<pre>!wiki WikiArticleName</pre> will return a wiki link for this wiki
+
Any of the following commands will search Google and return the results + URLs.
 
+
<pre>!google <define:|spell:> <search terms> <1+1> <1 cm in ft> <patent > <weather city|zip> <??? airport> <city,state/zip></pre>
===ChannelStats===
+
<pre>!images <search terms></pre>
<pre>!rank <nick> <option> ?chan?</pre>    --> outputs the current placing of <nick> for events specified by <option> in the command source channel, o$
+
<pre>!groups <search terms></pre>
<pre>!stats <nick> ?chan?</pre>            --> outputs the chanstats for <nick> and command source channel, or those for <nick> and ?chan? if specifi$
 
<pre>!top10 <option> ?chan?</pre>         --> outputs the top 10 users for events specified by <option> for command source channel, or those for ?ch$
 
<pre>!top20 <option> ?chan?</pre>         --> outputs the top 20 users (11 through 20) for events specified by <option> for command source channel, o$
 
<pre>!tstats ?chan?</pre>                  --> outputs total events logged for command source channel, or those for ?chan? if specified
 
 
 
===Sysinfo===
 
Say <pre>!sysinfo</pre> in the channel to show current stats of the box that the bot is run from (currently Robbies HDA)
 
 
 
==Adding more scripts==
 
If you wanna see something added to the eggdrop PM robbiet480 in #amahi
 

Revision as of 05:41, 8 March 2010

The IRC Bot, AmahiBot is a eggdrop bot run by robbiet480 that sits in the #amahi channel on IRC.

Functions

AmahiBot has a few interesting functions

Wiki

!wiki Wiki Article Name

will return a wiki link for this wiki

Bug lookup

You can look up bugs from the Amahi bug tracker by saying:

!bug BUG_NUMBER

Factoids

You can store factoids for later with the following command:

!add NAME DESCRIPTION

and then recall the fact by saying

? NAME

or delete the fact by saying

!del NAME

To list all available commands say

!stored

Twitter Feed

Saying

!twitter

in the channel will show you the last twitter message posted to twitter.com/amahi

Seen

Say

!seen USERNAME

to find the last time that the user was in the channel

Google Searches

Any of the following commands will search Google and return the results + URLs.

!google <define:|spell:> <search terms> <1+1> <1 cm in ft> <patent > <weather city|zip> <??? airport> <city,state/zip>
!images <search terms>
!groups <search terms>