local c = {
temple = false, -- set this to true if you want them sent to the temple
location = {x = 0, y = 0, z = 0 }, -- location to send them to if temple is set to false
outfit = {lookType = 267, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 0}
}
function onLogin(cid)
if(hasCondition(cid, CONDITION_OUTFIT) and getCreatureOutfit(cid).lookType == c.outfit.lookType) then
local pos = {}
if c.temple then
pos = getTownTemplePosition(getPlayerTown(cid))
else
pos = c.location
end
doTeleportThing(cid, pos, true)
doSendMagicEffect(pos, CONST_ME_TELEPORT)
end
return true
end