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

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

Author Topic: Loot.php  (Read 3814 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
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


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


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 488
  • 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