local config = {
{x = 100, y = 100, z = 7}, -- this is the first training spot, you add the rest
}
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition)
for _, pos in pairs(config) do
if not isPlayer(getTopCreature(pos).uid) then
if doTeleportThing(cid...