@name 
@inputs Sc:wirelink
@outputs Reset
@persist Result:string Array:array
@trigger 
Distance = 250
Result = ""
runOnTick(1)
#indByClass("player")
    findInSphere(entity():pos(), Distance)
    Array = findToArray()
   for(I=1,Array:count()) {
        if(Array[I,entity]:isPlayer()) {
            if(Array[I,entity]:isAlive()) {
                if (Result != "whip") {
T = Result + " " + Array[I,entity]:name():sub(1,25)
}}}}

 G  = lastSaid():lower() 
Sc:writeString("  Message last said : " + G + "            
 Person Nearest To Screen:" + T,0,6 + 0,500)
timer("reset",1000)

if(clk("reset")){
Reset = 1
}
else{
Reset = 0}

