on chat: set chat format to "%nl%%chat format%%nl% &r " every tick: loop all players: loop all entities in radius 2.1 around loop-player-1: if loop-entity-2 is not loop-player-1: push loop-entity-2 (vector from location of loop-player-1 to location of loop-entity-2) show flash at loop-player-1