@name Rain Maker
@inputs 
@outputs Dir:vector Pos:vector On
@persist E:entity Name:string
@trigger all
interval(20)
K=chatClk()
runOnChat(1)
Chat=owner():lastSaid()
Break="<" 
Com=Chat:find("rain")
Brk=Chat:find(Break)
Act=Chat:find("on")
Inact=Chat:find("off")


if(K&Com){
if(Act){On=1}
if(Inact){On=0}
if(Brk){
    Name=Chat:explode(Break):string(2)
    findByName(Name)
    E=findResult(1)
    }
}
Pos=E:pos()+vec(0,0,100)
Dir=vec(0,0,-1)
