this one is HEAVILY modified..
- incorporates Alreadythere's whois caching system.
- colorizes attack messages in guildchat to indicate side.
- turned off pgroup notices.
- added per-target rate limiting, so mass attacks don't flood gc/irc.
- relays to IRC. (you'll have to add a function to IRC.php)
http://ao.rockwood.us/bebot/TowerAttack.phpshere's the added function i put in IRC.php to allow sending to irc from other modules:
function irc_send_local($msg)
{
if ($msg)
$this -> irc -> message(SMARTIRC_TYPE_CHANNEL, $this -> chan, $msg);
}
cheers and hope you enjoy, standard disclaimers apply as usual
/Aka