function onSay(cid, words, param)
ppos = getPlayerPosition(cid)
position = { x = 1000, y = 1000, z =7 }
if (getCreatureCondition(cid, CONDITION_INFIGHT) == FALSE) then
doTeleportThing(cid, position, TRUE)
else
doPlayerSendCancel(cid,"You can't teleport immediately after fight.")
doSendMagicEffect(ppos,2)
end
return 1
end