Difference between revisions of "Working with Bottie on IRC"

From CTWUG Wiki
Jump to: navigation, search
(Introduction)
(Introduction)
 
(6 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
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...
 
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...
 
+
<br />
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]
+
<br />
 
+
==Pass someone a tasty beverage==
=Commands=
+
<br />
Pass someone a tasty beverage
+
''bottie drink [nick]''
 
 
''bottie drink [nic]''
 
 
<pre>
 
<pre>
 
<morkhans> bottie drink koeiklap
 
<morkhans> bottie drink koeiklap
 
* bottie pours some beer and slides it to koeiklap
 
* bottie pours some beer and slides it to koeiklap
 
</pre>
 
</pre>
 
+
<br />
Get a list of CTWUG Admins
+
<br />
 
+
==Get a list of CTWUG Admins==
 +
<br />
 
''bottie admins''
 
''bottie admins''
 
<pre>
 
<pre>
Line 25: Line 24:
 
-bottie- ==================================================
 
-bottie- ==================================================
 
</pre>
 
</pre>
 
+
<br />
Find out when last someone was on IRC
+
<br />
 
+
==Find out when last someone was on IRC==
''bottie seen [nic]''
+
<br />
 +
''bottie seen [nick]''
 
<pre>
 
<pre>
 
<morkhans> bottie seen koeiklap
 
<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.
 
<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>
 
</pre>
 
+
<br />
Leave a message for someone when they next type something in IRC
+
<br />
 
+
==Find out when someone was first on IRC==
''bottie tell [nic] [message]''
+
<br />
 +
''bottie firstseen [nick]''
 +
<pre>
 +
<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.
 +
</pre>
 +
<br />
 +
<br />
 +
==Check gametime Status==
 +
<br />
 +
''bottie gc''
 +
<pre>
 +
Gametime is OFF
 +
Gametime is ON
 +
</pre>
 +
<br />
 +
<br />
 +
==Leave a message for someone when they next type something in IRC==
 +
<br />
 +
''bottie tell [nick] [message]''
 
<pre>
 
<pre>
 
<morkhans> bottie tell koeiklap ek mors met bottie
 
<morkhans> bottie tell koeiklap ek mors met bottie
Line 42: Line 61:
 
<bottie> Koeiklap: morkhans told me to tell you "ek mors met bottie". That was 37 seconds ago on 2009-10-25 17:07:12.
 
<bottie> Koeiklap: morkhans told me to tell you "ek mors met bottie". That was 37 seconds ago on 2009-10-25 17:07:12.
 
</pre>
 
</pre>
 
+
<br />
 +
<br />
 
See how many lines someone has typed in IRC
 
See how many lines someone has typed in IRC
 
+
<br />
 
''bottie lines [nic]''
 
''bottie lines [nic]''
 
<pre>
 
<pre>
Line 50: Line 70:
 
<bottie> morkhans has 497 lines
 
<bottie> morkhans has 497 lines
 
</pre>
 
</pre>
 
+
<br />
Set a greeting for when you login to IRC
+
<br />
 
+
==Set a greeting for when you login to IRC==
 +
<br />
 
''bottie greet [message]''  
 
''bottie greet [message]''  
 
<pre>
 
<pre>
Line 58: Line 79:
 
<bottie> morkhans: Greeting set!
 
<bottie> morkhans: Greeting set!
 
</pre>
 
</pre>
 
+
<br />
Test botties' mathematical abilities
+
<br />
 
+
==Simple Maths==
 +
<br />
 
''bottie calc [equation]''
 
''bottie calc [equation]''
 
<pre>
 
<pre>
Line 66: Line 88:
 
<bottie> 12
 
<bottie> 12
 
</pre>
 
</pre>
 
+
<br />
See information about a device on the CTWUG network
+
<br />
 
+
==Ping a device==
''bottie info [device]''
+
<br />
<pre>
 
<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
 
</pre>
 
 
 
Ping a device
 
 
 
 
''bottie ping [device]''
 
''bottie ping [device]''
 
<pre>
 
<pre>
Line 82: Line 97:
 
<bottie> morkhans rb.brandyencoke.ctwug.za.net is alive!
 
<bottie> morkhans rb.brandyencoke.ctwug.za.net is alive!
 
</pre>
 
</pre>
 
+
<br />
Lookup a device
+
<br />
 
+
==Lookup a device==
 +
<br />
 +
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>
 +
<br />
 +
''bottie nslookup [device]''
 +
<pre>
 +
<morkhans> bottie nslookup 172.18.39.150
 +
<bottie> rb.brandyencoke.ctwug.za.net
 
</pre>
 
</pre>

Latest revision as of 14:53, 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...

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 [nick]

<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.



Check gametime Status


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



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