Ok, i thought i got it but no. Sorry for doubleposting.
From there: http://otland.net/threads/random-teleport-and-check-if-player-is-on-sqm.10487/
I tested this:
function onStepIn(cid, item, pos)
local location = {
{x=480, y=463, z=8, stackpos=253}, -- Location 1
{x=484, y=463, z=8...