function onStepIn(item, position, lastPosition, fromPosition, toPosition, actor)
local alphaTeam = {x = 1000, y = 1000, z = 7}
local bravoTeam = {x = 1000, y = 1000, z = 7}
local number = math.random(1, 2)
local tileid = 474
local tileuid = 1897554
if isPlayer(cid) and item.itemid == tileid and item.uid == tileuid then
if number == 1 then
doTeleportThing(cid, alphaTeam)
doSendTextMessage(cid, CONST_ME_DESCR, "You are a alpha teamer!")
end return true
elseif number == 2 then
doTeleportThing(cid, bravoTeam)
doSendTextMessage(cid, CONST_ME_DESCR, "You are a bravo teamer!")
end return true
end
return true
end