@name Private Chat
@inputs Linkdown:wirelink
@outputs Chat:string Play:string Linkup:wirelink
@persist Pl:array Plt:table C Play:string
@trigger all
Time=500
interval(Time)
if(first()){timer("scan",1)}
R=1000000
Chat = entity():owner():lastSaid()
K = curtime() - entity():owner():lastSaidWhen() < (Time*1)/1000
Break="`"

if(clk("scan")){
findInSphere(entity():owner():pos(),R)
findIncludeClass("player")
Pl=findToArray()
timer("scan",10000)
timer("table",1)
C=1
Play=Pl:concat(Break)
}
if(clk("table")){
    if(Plt:count()<Pl:count()){
        Name=Pl:entity(C):name()
        ID=Pl:entity(C):id()
        Plt:setNumber(Name,ID)
        C++
        timer("table",1)
}}


Brk=Chat:find("#")
if(Brk&K){Name0=Chat:explode("#")
    Name1=Name0:string(1)
    Name2=Plt:number(Name1)
    if(Name2==entity(Name2):id()){Team=1}
}else{Team=0}

if(Team&K){}

