BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => 0.3.x Custom/Unofficial Modules => Topic started by: Ebag333 on June 15, 2007, 03:02:47 am

Title: Loot.php
Post by: Ebag333 on June 15, 2007, 03:02:47 am
Somewhere along the way I'd picked up a Loot module that let you do a flatroll on multiple items (either 1 person per slot, or as many slots as you want).

Anyway, I'd never found anything better for Bebot, and didn't want to use the default points/bid modules, so I'd just kept it.

Well, with the latest version it finally broke, so I went through and basically rewrote huge chunks of it and updated the rest to bring it current.

Commands are as follows:

$commands["tell"]["rem"] = &$loot;
$commands["tell"]["add"] = &$loot;
$commands["pgmsg"]["loot"] = &$loot;
$commands["pgmsg"]["add"] = &$loot;
$commands["pgmsg"]["rem"] = &$loot;
$commands["pgmsg"]["result"] = &$loot;
$commands["pgmsg"]["list"] = &$loot;
$commands["pgmsg"]["clear"] = &$loot;
$commands["pgmsg"]["reroll"] = &$loot;

It's pretty self explanatory, but all the commands have a help associated with them.

Anyway, I've attached the file.
Title: Re: Loot.php
Post by: Ebag333 on June 21, 2007, 10:40:36 pm
Added to SVN (raidbot branch).  Get that version. :)
SimplePortal 2.3.7 © 2008-2024, SimplePortal