The Dink Network

Reply to "spawn" procedure in a row?

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:
 
 
March 9th 2011, 08:32 PM
knightgl.gif
castman
Peasant He/Him Brazil
Some day I'll finish my mod... Some day... 

Hello,

I'm trying to use 'spawn' to launch one script from another running script.

I have successfully spawned the first script ('pl-army.c') from the screen base script ('battle-in.c'). But when I tried to spawn another script from 'pl-army' it didn't work...

void main ( void )
{

\\say("Yop", 1);

spawn("pl-sold");

say("Yop", 1);

kill_this_task();

}


If "Yop" is at that '\\'d line Dink says it, but if it's under the spawn procedure Dink doesn't say it.

I don't know what's happening, should I use something different than spawn in that situation?