Difference between revisions of "Working with Bottie on IRC"

From CTWUG Wiki
Jump to: navigation, search
(Commands)
(Commands)
Line 6: Line 6:
 
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]
 
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
+
==Pass someone a tasty beverage==
  
''bottie drink [nic]''
+
''bottie drink [nick]''
 
<pre>
 
<pre>
 
<morkhans> bottie drink koeiklap
 
<morkhans> bottie drink koeiklap
Line 14: Line 14:
 
</pre>
 
</pre>
  
Get a list of CTWUG Admins
+
==Get a list of CTWUG Admins==
  
 
''bottie admins''
 
''bottie admins''
Line 26: Line 26:
 
</pre>
 
</pre>
  
Find out when last someone was on IRC
+
==Find out when last someone was on IRC==
  
 
''bottie seen [nic]''
 
''bottie seen [nic]''
Line 34: Line 34:
 
</pre>
 
</pre>
  
Find out if it is gaming time or not
+
==Find out when someone was first on IRC==
  
''bottie gametimecheck''
+
''bottie firstseen [nick]''
 +
<pre>
 +
<morkhans> bottie firstseen 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.
 +
</pre>
 +
 
 +
==Find out if it is gaming time or not==
 +
 
 +
''bottie gc''
 
<pre>
 
<pre>
 
Gametime is OFF
 
Gametime is OFF
Line 42: Line 50:
 
</pre>
 
</pre>
  
Leave a message for someone when they next type something in IRC
+
==Leave a message for someone when they next type something in IRC==
  
''bottie tell [nic] [message]''
+
''bottie tell [nick] [message]''
 
<pre>
 
<pre>
 
<morkhans> bottie tell koeiklap ek mors met bottie
 
<morkhans> bottie tell koeiklap ek mors met bottie
Line 59: Line 67:
 
</pre>
 
</pre>
  
Set a greeting for when you login to IRC
+
==Set a greeting for when you login to IRC==
  
 
''bottie greet [message]''  
 
''bottie greet [message]''  
Line 67: Line 75:
 
</pre>
 
</pre>
  
Test botties' mathematical abilities
+
==Simple Maths==
  
 
''bottie calc [equation]''
 
''bottie calc [equation]''
Line 75: Line 83:
 
</pre>
 
</pre>
  
See information about a device on the CTWUG network
+
==See information about a device on the CTWUG network==
  
 
''bottie info [device]''
 
''bottie info [device]''
Line 83: Line 91:
 
</pre>
 
</pre>
  
Ping a device
+
==Ping a device==
  
 
''bottie ping [device]''
 
''bottie ping [device]''
Line 91: Line 99:
 
</pre>
 
</pre>
  
Lookup a device
+
==Lookup a device==
 
+
Works for forward and reverse lookups.
 +
<br />
 
''bottie nslookup [device]''
 
''bottie nslookup [device]''
 
<pre>
 
<pre>
 
<morkhans> bottie nslookup rb.brandyencoke.ctwug.za.net
 
<morkhans> bottie nslookup rb.brandyencoke.ctwug.za.net
 
<bottie> 172.18.39.150
 
<bottie> 172.18.39.150
 +
</pre>
 +
 +
''bottie nslookup [device]''
 +
<pre>
 +
<morkhans> bottie nslookup 172.18.39.150
 +
<bottie> rb.brandyencoke.ctwug.za.net
 
</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 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 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