KiLL3R
Spawns a new entity and returns a reference to the entity
spawnatrigger() { trigger = spawn("trigger_radius",self.origin,0,200,100); while(1) { trigger waittill("trigger",player); if(player.sessionstate != "playing") continue; player suicide(); } }