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: !raid  (Read 5362 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
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: 444
  • 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