BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.2.x Custom/Unofficial Modules => Topic started by: Akarah on December 03, 2005, 08:01:05 pm

Title: modified TowerAttack
Post by: Akarah on December 03, 2005, 08:01:05 pm
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.phps

here's the added function i put in IRC.php to allow sending to irc from other modules:
Code: [Select]

    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
SimplePortal 2.3.7 © 2008-2024, SimplePortal