How can i start trivia bot Version 2.2 written by Leon a.k.a. Don Leon
 

How can i start trivia bot Version 2.2 written by Leon a.k.a. Don Leon

Started by Zood, 06 September, 2004, 00:07:17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

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() ?

nErBoS

Hi,

It would help us if you show the script please.

Best regards, nErBoS
--## nErBoS Spot ##--

plop

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
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

nErBoS

#3
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
--## nErBoS Spot ##--

Zood

To nErBoS: I can start & stop trivia.
To plop: What's the phatty's multiminitimer? Where i can find it?

Zood

Question #2. How a can use 2 SetTimer()/StartTimer() ? In one time?

nErBoS

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
--## nErBoS Spot ##--

plop

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
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk