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

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

Author Topic: Question !rtimer  (Read 7305 times)

0 Members and 1 Guest are viewing this topic.

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Question !rtimer
« on: January 09, 2009, 11:47:05 pm »
Hi, got a question about the timers in 6.1

You can set the class of the timers in the bot.
Now i want to set !rtimer on countdown but i cant find where i can do that.
I can do !ptimer and !timer but they dont repeat.

I tried !rtimer countdown 00:00:30 00:00:30 TEST

Then he ends with the countdown but when he repeats he is standard again. etc etc..

Somebody know how to change that?

thnx alot

Jih.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Question !rtimer
« Reply #1 on: January 11, 2009, 01:57:43 am »
The countdown class isn't targeted at normal created timers, though output-wise it should work ok. Most internally used timer classes would create strange output if used for normal player timers.

In my table the entries for the end of a countdown look ok, the timer handler should be able to find the correct class when updating the repeating timer.

But I didn't have time for real debugging, the function might missbehave.

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Re: Question !rtimer
« Reply #2 on: January 11, 2009, 02:20:49 pm »
with !tset you should be able to change the class for the timer, but rtimer isnt there, only private timer and public timer.


thnx for your time :-)

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Question !rtimer
« Reply #3 on: January 11, 2009, 07:19:55 pm »
rtimer is just a special case of timer, using the same timer settings.

There are 3 timer commands, !timer, !ptimer, !rtimer.
!timer is the generic timer command, creating and viewing non-repeating timer in the input channel.
!ptimer is a way to view/set public timer in gc/pgroup using tells.
!rtimer is used to create repeating timer, taking a second time as repeat intervall. Otherwise it's identical to !timer (of course, it can't be used to show registered timers).

The internal handling is identical for all timers.

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Re: Question !rtimer
« Reply #4 on: January 12, 2009, 10:01:59 am »
Hi,

Well then !rtimer doesnt work as the other 2. Both settings are on countdown, !timer and !ptimer are counting down. !rtimer only says 10 seconds left..

thnx.

Jih.

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Question !rtimer
« Reply #5 on: January 12, 2009, 05:06:22 pm »
Just to understand the problem:

You have set default class to Countdown using !tset (public and/or private).
You call !timer in the channel and Countdown is used as timer class. Same for !ptimer.

But calling !rtimer in the same channel doesn't work correctly, it still is using a different timer class on the first event?
Or only on 2nd and following timer events?

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Re: Question !rtimer
« Reply #6 on: January 13, 2009, 12:25:26 pm »
Yup,

only when i type !rtimer countdown 00:00:30 30 TEST

then only once he countdowns and then the rest is with the old class.
So he doesnt repeat the countdown.

Cheerz

Jih.


Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Question !rtimer
« Reply #7 on: January 13, 2009, 06:02:55 pm »
Sounds like a bug, I'll try to find the source.

Offline Jiheld

  • BeBot User
  • **
  • Posts: 53
  • Karma: +0/-0
Re: Question !rtimer
« Reply #8 on: January 13, 2009, 06:47:29 pm »
could be, i use 6.1 version of the bot in AoC

thnx again m8

 

* Recent Posts
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 ]


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

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