Reply to spawn and stuff
If you don't have an account, just leave the password field blank.
start:
blah
blah
wait(1);
loop:
&ctdown -= 1;
wait(1000);
if (&ctdown < 1)
{
goto done;
}
if (&ctdown < -200)
{
goto kill;
}
goto loop;
wait(1);
done:
wait(1);
say_xy("`% not killing", 272, 15);
goto start;
kill:
say_xy("`% killing", 272, 15);
wait(1);
kill_this_task();
i play infinite random looping midis with this script. i just spawn it in start-1.c. i have the killing thing cause this is my plan: i want to be able to kill the spawn script by making the global var ctdown = -300. it does not work. any ideas of why, or better yet, how to make this loop and be able to terminate it by a better means? all help is appreciated.
blah
blah
wait(1);
loop:
&ctdown -= 1;
wait(1000);
if (&ctdown < 1)
{
goto done;
}
if (&ctdown < -200)
{
goto kill;
}
goto loop;
wait(1);
done:
wait(1);
say_xy("`% not killing", 272, 15);
goto start;
kill:
say_xy("`% killing", 272, 15);
wait(1);
kill_this_task();
i play infinite random looping midis with this script. i just spawn it in start-1.c. i have the killing thing cause this is my plan: i want to be able to kill the spawn script by making the global var ctdown = -300. it does not work. any ideas of why, or better yet, how to make this loop and be able to terminate it by a better means? all help is appreciated.