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: !raid  (Read 1796 times)

0 Members and 1 Guest are viewing this topic.

Offline Allisande

  • BeBot User
  • **
  • Posts: 68
  • Karma: +0/-0
!raid
« on: January 11, 2009, 05:24:36 am »
I want to add the ability for the !raid mod to

/gu !raid reward 1

after 1 hour has gone by.  I thought it would be rather easy to have the bot do this command when it does:

if ($this -> announce == 10)
      {
         $this -> bot -> send_output("", "Raid is running for ##highlight##" .
         (((int)((time () - $this -> start) / 60)) + 1) . "##end## minutes now.", "both");
         $this -> announce = 0;
      }

But I keep getting an error when I add it in.  Anyone got any ideas?  I tried to have the !raid mod add points at an interval of .017 every minute but it does not seem to be doing it so I figured this would be an easy fix.

Thanks

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: !raid
« Reply #1 on: January 11, 2009, 05:52:56 am »
the raid ticker works fine
possible issues:
- the Points table row for point is set to INT and decimals are now allowed. (check ur table and change if required)
- u havnt unpuased it, when u start a raid the ticker is paused u need to unpause it

 

* 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: 679
  • 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