Difference between revisions of "IRC Bot"

From Amahi Wiki
Jump to: navigation, search
Line 5: Line 5:
 
===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:
<small>!bug BUG_NUMBER</small>
+
<pre>!bug BUG_NUMBER</pre>
 
in the channel
 
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:
<small>!add NAME DESCRIPTION</small>
+
<pre>!add NAME DESCRIPTION</pre>
and then recall the fact by saying <small>? NAME</small> or delete the fact by saying <small>!del NAME</small>
+
and then recall the fact by saying <pre>? NAME</pre> or delete the fact by saying <pre>!del NAME</pre>
  
To list all available commands say <small>!stored</small>
+
To list all available commands say <pre>!stored</pre>
 
===Google searching===
 
===Google searching===
 
Any of the following commands will search Google and return the results + URLs.
 
Any of the following commands will search Google and return the results + URLs.
<small>!google <define:|spell:> <search terms> <1+1> <1 cm in ft> <patent > <weather city|zip> <??? airport> <city,state/zip></small>
+
<pre>!google <define:|spell:> <search terms> <1+1> <1 cm in ft> <patent > <weather city|zip> <??? airport> <city,state/zip></pre>
<small>!images <search terms></small>
+
<pre>!images <search terms></pre>
<small>!groups <search terms></small>
+
<pre>!groups <search terms></pre>
<small>!local <what> near <where></small>
+
<pre>!local <what> near <where></pre>
<small>!books <search terms></small>   
+
<pre>!books <search terms></pre>   
<small>!video <search terms></small>
+
<pre>!video <search terms></pre>
<small>!fight <word(s) one> vs <word(s) two></small>  
+
<pre>!fight <word(s) one> vs <word(s) two></pre>  
  
 
===RSS Feeds===
 
===RSS Feeds===
Saying <small>!amahi</small> in the channel will show you the last twitter message posted to twitter.com/amahi
+
Saying <pre>!amahi</pre> in the channel will show you the last twitter message posted to twitter.com/amahi
  
 
===GreetLeave===
 
===GreetLeave===
Line 30: Line 30:
  
 
===Seen===
 
===Seen===
Say <small>!seen USERNAME</small> 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===
 
===Wiki===
<small>!wiki WikiArticleName</small> will return a wiki link for this wiki
+
<pre>!wiki WikiArticleName</pre> will return a wiki link for this wiki
  
 
===ChannelStats===
 
===ChannelStats===
<small>!rank <nick> <option> ?chan?</small>    --> outputs the current placing of <nick> for events specified by <option> in the command source channel, o$
+
<pre>!rank <nick> <option> ?chan?</pre>    --> outputs the current placing of <nick> for events specified by <option> in the command source channel, o$
<small>!stats <nick> ?chan?</small>            --> outputs the chanstats for <nick> and command source channel, or those for <nick> and ?chan? if specifi$
+
<pre>!stats <nick> ?chan?</pre>            --> outputs the chanstats for <nick> and command source channel, or those for <nick> and ?chan? if specifi$
<small>!top10 <option> ?chan?</small>          --> outputs the top 10 users for events specified by <option> for command source channel, or those for ?ch$
+
<pre>!top10 <option> ?chan?</pre>          --> outputs the top 10 users for events specified by <option> for command source channel, or those for ?ch$
<small>!top20 <option> ?chan?</small>          --> outputs the top 20 users (11 through 20) for events specified by <option> for command source channel, o$
+
<pre>!top20 <option> ?chan?</pre>          --> outputs the top 20 users (11 through 20) for events specified by <option> for command source channel, o$
<small>!tstats ?chan?</small>                  --> outputs total events logged for command source channel, or those for ?chan? if specified
+
<pre>!tstats ?chan?</pre>                  --> outputs total events logged for command source channel, or those for ?chan? if specified
  
 
===Sysinfo===
 
===Sysinfo===
Say <small>!sysinfo</small> in the channel to show current stats of the box that the bot is run from (currently Robbies HDA)
+
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==
 
==Adding more scripts==
 
If you wanna see something added to the eggdrop PM robbiet480 in #amahi
 
If you wanna see something added to the eggdrop PM robbiet480 in #amahi

Revision as of 19:24, 19 August 2009

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

Bug lookup

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

!bug BUG_NUMBER

in the channel

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

Google searching

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>
!local <what> near <where>
!books <search terms>
!video <search terms>
!fight <word(s) one> vs <word(s) two>

RSS Feeds

Saying

!amahi

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

Say

!seen USERNAME

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

Wiki

!wiki WikiArticleName

will return a wiki link for this wiki

ChannelStats

!rank <nick> <option> ?chan?

--> outputs the current placing of <nick> for events specified by <option> in the command source channel, o$

!stats <nick> ?chan?

--> outputs the chanstats for <nick> and command source channel, or those for <nick> and ?chan? if specifi$

!top10 <option> ?chan?

--> outputs the top 10 users for events specified by <option> for command source channel, or those for ?ch$

!top20 <option> ?chan?

--> outputs the top 20 users (11 through 20) for events specified by <option> for command source channel, o$

!tstats ?chan?

--> outputs total events logged for command source channel, or those for ?chan? if specified

Sysinfo

Say

!sysinfo

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