function onStepIn(cid, item, position, fromPosition, pos)
telepos = {x=1747, y=282, z=11}
posback = {x=1747, y=284, z=11}
verminor = 10274
infernatil = 10275
tafariel = 10276
apocalypse = 10277
pumin = 10278
bazir = 10279
ashfalor = 10280
if getPlayerStorageValue(cid,verminor) == 1 and getPlayerStorageValue(cid,infernatil) == 1 and getPlayerStorageValue(cid,tafariel) == 1
and getPlayerStorageValue(cid,apocalypse) == 1 and getPlayerStorageValue(cid,pumin) == 1 and getPlayerStorageValue(cid,ashfalor) == 1
and getPlayerStorageValue(cid,bazir) == 1 then
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Gratz, u can go now to rewards")
doTeleportThing(cid, telepos)
doSendMagicEffect(telepos, fireworksEffect)
else
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "First u have to do all thrones")
doTeleportThing(cid, posback)
end
end