How can i start TriviaBot Version 2.2 written by Leon a.k.a. Don Leon Changes by Spud (Dream~Masters) every hour?
Can i use 2 or more functions OnTimer() ?
Hi,
It would help us if you show the script please.
Best regards, nErBoS
QuoteOriginally posted by Zood
How can i start TriviaBot Version 2.2 written by Leon a.k.a. Don Leon Changes by Spud (Dream~Masters) every hour?
Can i use 2 or more functions OnTimer() ?
no idea how you start it as i never used it.
you can only use OnTimer 1x, but there are tricks 2 extend it.
phatty's multiminitimer is 1 way, and in my texter 4.x serie you can find another way.
@nErBoS: that script can be found on my site.
plop
Hi,
QuoteOriginally posted by plop
@nErBoS: that script can be found on my site.
Me too lazy :P :))
Zood...
I have take a look at the script and seens that it doesn't have a commands to stop or start the trivia, am i right ??
Best regards, nErBoS
To nErBoS: I can start & stop trivia.
To plop: What's the phatty's multiminitimer? Where i can find it?
Question #2. How a can use 2 SetTimer()/StartTimer() ? In one time?
Hi,
This is what you have in "doc\scripting.txt" on your ptokax folder...
Timers
======
By now every script has it's own timer. There are three global functions for timer control:
SetTimer(time)
time = time in miliseconds
StartTimer()
starts the timer
StopTimer()
stops the timer
To respond on timer event write your response code into OnTimer function:
function OnTimer()
//TODO: your code here
end
Best regards, nErBoS
QuoteOriginally posted by Zood
To nErBoS: I can start & stop trivia.
To plop: What's the phatty's multiminitimer? Where i can find it?
it can be found in the howto section of the board.
plop