local config = {
minacces = 3, -- groupid needed
position = {x=1,y=1,z=1} -- where to be teleported to.
}
function onSay(cid,words,param)
if getPlayerAcces(cid) >= config.minacces then
if not(getCreatureCondition(cid,CONDITION_INFIGHT))then
doTeleportThing(cid,config.position)...