Difference between revisions of "Working with Bottie on IRC"

From CTWUG Wiki
Jump to: navigation, search
(Commands)
(Find out when someone was first on IRC)
Line 38: Line 38:
 
''bottie firstseen [nick]''
 
''bottie firstseen [nick]''
 
<pre>
 
<pre>
<morkhans> bottie firstseen koeiklap
+
<morkhans> bottie firstseen ironman
<bottie> morkhans: I have last seen koeiklap public #ctwug "haha" on 2009-10-25 16:57:07 that was 9 minutes and 34 seconds ago.
+
<bottie> morkhans: I have first seen ironman join #ctwug "" on 2009-05-07 18:55:14 that was 4 years, 4 days, 16 minutes and 58 seconds ago.
 
</pre>
 
</pre>
  

Revision as of 14:50, 11 May 2013

Introduction

Bottie is the all powerful bot that helps out in IRC. While world domination is still some-ways off Bottie can do many other things. Amongst his weapons are such things as...

Commands

Commands are invoked by typing bottie followed by the command. e.g. bottie admins. Some commands take and additional variable e.g. bottie seen [nic]

Pass someone a tasty beverage

bottie drink [nick]

<morkhans> bottie drink koeiklap
* bottie pours some beer and slides it to koeiklap

Get a list of CTWUG Admins

bottie admins

<morkhans> bottie admins
-bottie- ==================================================
-bottie- | CTWUG Admin list                               |
-bottie- ==================================================
-bottie- | http://wiki.ctwug.za.net/index.php/CTWUG_Admin |
-bottie- ==================================================

Find out when last someone was on IRC

bottie seen [nic]

<morkhans> bottie seen koeiklap
<bottie> morkhans: I have last seen koeiklap public #ctwug "haha" on 2009-10-25 16:57:07 that was 9 minutes and 34 seconds ago.

Find out when someone was first on IRC

bottie firstseen [nick]

<morkhans> bottie firstseen ironman
<bottie> morkhans:  I have first seen ironman join #ctwug "" on 2009-05-07 18:55:14 that was 4 years, 4 days, 16 minutes and 58 seconds ago.

Find out if it is gaming time or not

bottie gc

Gametime is OFF
Gametime is ON

Leave a message for someone when they next type something in IRC

bottie tell [nick] [message]

<morkhans> bottie tell koeiklap ek mors met bottie
<bottie> morkhans: Okay!
<bottie> Koeiklap: morkhans told me to tell you "ek mors met bottie". That was 37 seconds ago on 2009-10-25 17:07:12.

See how many lines someone has typed in IRC

bottie lines [nic]

<morkhans> bottie lines morkhans
<bottie> morkhans has 497 lines

Set a greeting for when you login to IRC

bottie greet [message]

<morkhans> bottie greet Met Eish, Ja! http://eish.brandyencoke.ctwug.za.net/
<bottie> morkhans: Greeting set!

Simple Maths

bottie calc [equation]

<morkhans> bottie calc 10 + 2
<bottie> 12

See information about a device on the CTWUG network

bottie info [device]

<morkhans> bottie info rb.brandyencoke.ctwug.za.net
<bottie> dns: rb.brandyencoke.ctwug.za.net, status: A, ip: 172.18.39.150, date_checked: 2009-10-25 17:01:13, ftp: Y, date_alive: 2009-10-25 17:01:13, http: Y

Ping a device

bottie ping [device]

<morkhans> bottie ping rb.brandyencoke.ctwug.za.net
<bottie> morkhans rb.brandyencoke.ctwug.za.net is alive!

Lookup a device

Works for forward and reverse lookups.
bottie nslookup [device]

<morkhans> bottie nslookup rb.brandyencoke.ctwug.za.net
<bottie> 172.18.39.150

bottie nslookup [device]

<morkhans> bottie nslookup 172.18.39.150
<bottie> rb.brandyencoke.ctwug.za.net