local scroll = xxxx item id
local temple = {x=xxxxx, y=xxxxx, z=x} position
local level = 25 level to use
function onUse(cid, item, frompos, item2, topos)
if item.itemid == scroll and getPlayerLevel(cid) >= level then
doTeleportThing(cid, temple, TRUE)
doSendMagicEffect(temple,10)
doSendAnimatedText(temple, "You are in temple!", 6)
doRemoveItem(cid, item.uid, 1)
else
doPlayerSendCancel(cid, "Sorry, your level must higher than 25!")
end
return 1
end