BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => BeBot Hyborian support => Topic started by: Roxen on August 12, 2008, 05:51:24 am

Title: Help with !rtimer
Post by: Roxen 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 ?
Title: Re: Help with !rtimer
Post by: Roxen on August 13, 2008, 07:37:04 pm
Any suggestion?
Title: Re: Help with !rtimer
Post by: Alreadythere 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.
Title: Re: Help with !rtimer
Post by: Roxen 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?
Title: Re: Help with !rtimer
Post by: Alreadythere 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.
Title: Re: Help with !rtimer
Post by: Roxen 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.
SimplePortal 2.3.7 © 2008-2025, SimplePortal