Page 2 of 2

Posted: Wed Aug 30, 2006 2:41 am
by lizardkid
numerous problems.

first you only have one end, it doubles over into the next statement anyway. and you have some redundant lines.

correction:

Code: Select all

main:

level waittill spawn 

thread grenade_topleft_triggered 
end

grenade_topleft_triggered: 

iprintlnbold_noloc "Great Throw!! You Scored 5 Points. 
$bottom_right_green hide

end
NOTE: your iprintln was spelled wrong and will only broadcast to the server box, you need another thread like this to broadcast to everyone inside the server.

Code: Select all

broadcast local.msg:

for(local.i = 0; local.i < local.player.length; local.i++)
        iprintlnbold_noloc local.msg

end
i think that's right, a little tired so i'm not sure if it's local.player.length or $player.length.

you'd need to change the 'great throw' line from iprintln to broadcast if you use that too.