collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Loot.php  (Read 8423 times)

0 Members and 1 Guest are viewing this topic.

Offline Ebag333

  • Contributor
  • *******
  • Posts: 134
  • Karma: +0/-0
Loot.php
« 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.
« Last Edit: June 21, 2007, 10:40:51 pm by Ebag333 »

Offline Ebag333

  • Contributor
  • *******
  • Posts: 134
  • Karma: +0/-0
Re: Loot.php
« Reply #1 on: June 21, 2007, 10:40:36 pm »
Added to SVN (raidbot branch).  Get that version. :)

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 288
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal