R2D2IRC 1.0

Created IRC bot based on skeleton.
Connects to #r2d2 on Snoonet as R2D2 (registered under me).
Accepts commands beginning with $, including:
$rules - display topic
$rules <param> - display relevant section of #techsupport topic
$rules <param> <nick> - as before, targeted at <nick>
$rand <params> - chooses a random <param> (must be separated by spaces)
$leave - leaves current channel (requires op)
$leave <#channel> - leaves stated channel (requires me)
$nick <nick> - changes bot's nick to <nick>
$quit - quits IRC (requires me)
$lvl - returns auth value for user (0 - unregistered, 1 - registered, 2
- voiced, 3 - half operator, 4 - operator, 5 - me)
$regainnick - regains nick through NickServ, then identifies (requires
me)
$test - returns components of input (requires me)
$say <things> - bot says <things> (requires voice)
$sayto <#channel> <things> - bot says <things> in <#channel> (requires
me)
$join <#channel> - joins <#channel> (requires registered)

$help - to be written, indexes possible commands
$help <$command> - to be written, gives details on <$command>