![](img/smiles/ugly.gif)
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("say" , "testing") function testing(id,message) if message: lower (): sub (1,6) == "!bring" then parse("setpos "..id.." "..player(1,"x").." "..player(1,"y")) return 1 end end
addhook("say" , "testing") function testing(id,message) if message: lower (): sub (1,6) == "!bring" then parse("setpos "..id.." "..player(1,"x").." "..player(1,"y")) return 1 end end
addhook("say","_say") function _say(id,txt) if string.sub(txt,1,6)=="!bring" then local x = player(id,"x") local y = player(id,"y") parse("setpos "..string.sub(txt,8,string.len(txt)).." "..x.." "..y) return 1 end end