Killit
killit
Used within an actor's code in order to delete it from a map.
Setting the sprite's xrepeat to 0 using setactor, sizeat, or sizeto has the same effect.
Execution of subsequent code is halted in a fashion similar to return.
This command only takes effect for sprites with a statnum of STAT_ACTOR.