ok, lass uns mal was ausprobieren:

setz mal hier

function shoot_right()
{
if(event_type == EVENT_BLOCK)
{
ent_remove(you);
}
}

ein beep;

function shoot_right()
{
beep;
if(event_type == EVENT_BLOCK)
{
ent_remove(you);
}
}

wenns piept, wird die event function aufgerufen, wenn nicht dann nicht.