Reply to Re: Kill them all! Help me out
If you don't have an account, just leave the password field blank.
This should work...
//sample
int &sprite = 0;
getsprite:
wait(1);
&sprite = get_next_sprite_with_this_brain(9, 0, &sprite);
if (&sprite > 0)
{
int &junk = is_script_attached(&sprite);
if (&junk > 0)
{
sp_kill(&sprite, 1);
//or the hurt thing might work well too
}
&sprite += 1;
goto getsprite;
}
//sample
int &sprite = 0;
getsprite:
wait(1);
&sprite = get_next_sprite_with_this_brain(9, 0, &sprite);
if (&sprite > 0)
{
int &junk = is_script_attached(&sprite);
if (&junk > 0)
{
sp_kill(&sprite, 1);
//or the hurt thing might work well too
}
&sprite += 1;
goto getsprite;
}