Reply to Re: Wait command
If you don't have an account, just leave the password field blank.
I know, I have the book sitting right next to me too
But, do me a favor and try this:
This SHOULD take 5 seconds, but it takes a few seconds longer. (it's a spawned script)
But, do me a favor and try this:
void main (void)
{
int &timer = 500;
say("start", 1);
loop:
&timer -= 1;
wait(10);
if (&timer > 0)
{
goto loop;
}
say("done", 1);
kill_this_task();
}
This SHOULD take 5 seconds, but it takes a few seconds longer. (it's a spawned script)






