The Dink Network

Reply to Custom procedure is new script??

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
June 10th 2012, 05:35 AM
dinkdead.gif
Is this known? Did I know this before and have forgotten?
A custom procedure counts as a separate script? I've just spent ages debugging before discovering that using kill_this_task() just causes it to go back to the calling procedure within the same script...

//Dink says "1, 2, 4"

void main (void)
{
	say_stop("1", 1);
	
	test();
	
    //He shouldn't say this!
	say_stop("4", 1);
}
	
void test (void)
{
	say_stop("2", 1);
	kill_this_task();
	wait(1);
    say_stop("3", 1);
}


Actually I seem to remember something now about it having a different script number. How annoying.