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: Help with !rtimer  (Read 4580 times)

0 Members and 1 Guest are viewing this topic.

Offline Roxen

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Help with !rtimer
« on: August 12, 2008, 05:51:24 am »
Not sure if there is something wrong with the module  but from what i understand it should do after setting a repeat time  post in Guildchat the title each time when the repeat time is over ?

Cause the bot usualy only starts to react when the timer reached 2 mins.

Also would it be possible to add a function to it that let you add additional parameters ?
like !rtimer 5:00 0:35 East North West
Wich would show after 35 seconds East next time 35 seconds reached North than after 35 seconds West.
And than start over ?

Offline Roxen

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Help with !rtimer
« Reply #1 on: August 13, 2008, 07:37:04 pm »
Any suggestion?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Help with !rtimer
« Reply #2 on: August 13, 2008, 07:57:30 pm »
That's not the way rtimer is supposed to work.

rtimer creates a timer that is repeated until deleted with always the same timer text.

For your wished functionality you'll have to write your own module using timed events most likely.

And there is a setting defining the minimal repeat time for rtimer, not sure what the default setting is.

Offline Roxen

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Help with !rtimer
« Reply #3 on: August 13, 2008, 11:58:16 pm »
Ah could you give me a example for a good use of rtimer ?

I thought it was just for repeating the title in chat every time the repeat timer ended.

Actualy after going through the timer_core  wouldnt it be easier just to add another class?
« Last Edit: August 14, 2008, 01:14:33 am by Roxen »

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Help with !rtimer
« Reply #4 on: August 14, 2008, 06:55:35 am »
I thought it was just for repeating the title in chat every time the repeat timer ended.
That's the way it works, yes.

Offline Roxen

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: Help with !rtimer
« Reply #5 on: August 14, 2008, 08:44:25 am »
Well that was the main reason i posted here in the first place.
It doesnt do that for me currently i know the setting is set at i believe 30 seconds, repeat timer is set at 35 secconds and total time set is 5 minutes.

The bot accept the command however never show the title in guildchat every 35 seconds and only  after the timer is down to 2 minuts it will show that 2minutes is left and so on.

 

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