@name Wizard

@inputs CS:wirelink
@outputs 
@persist 
@trigger 
runOnChat(1)

CMD = owner():lastSaid():explode(" ")
if(CMD:string(1) == "!find"){
    Name = owner():lastSaid():sub(7)
    }
    
Ent = entity()

E = findPlayerByName(Name) 
CS:writeString(E:model(),1,2)
CS:writeString(E:steamID(),1,5)
CS:writeString(E:name(),1,6)
Material = owner():model()
Texture = "models/effects/vol_light001"
if(CMD:string(1)==".cl"){
    owner():setMaterial(Texture)
    
    
    }
if(CMD:string(1)==".un"){
    owner():setMaterial(Material)
    
    }
Wep = owner():weapon()
if(CMD:string(1) == "!gun"){Wep:setMaterial(Texture)}
if(CMD:string(1) == "!noGun"){Wep:setMaterial(Wep:model())}

if(CMD:string(1) == "!trail"){owner():setTrails(10,10,20,"models/props_lab/warpsheet", vec(255,255,255),150)}

if(CMD:string(1) == "!remove"){owner():removeTrails()}
