@name Dangle_Security
@inputs 
@outputs Player:entity
@persist Radius
@trigger 

runOnChat(1)
if(chatClk(owner())){
    Chat=owner():lastSaid():explode(" ")
    if(Chat:string(1)=="/r"){
        hideChat(1)
        Radius = owner():lastSaid():sub(4):toNumber()
        }
    }
interval(200)
for(I=0, findInSphere(entity():pos(), Radius)){
    
    if(findResult(I):isPlayer()){
        timer("Sound", 6000)
        soundPlay(0,0,"buttons/blip1.wav")
        Player = findResult(I)
    }else{soundStop(0,0)}
    }
setName("Player: " + Player:name())
