thanks for the help guys!
how can i make this switch ask for level 35 to use it?
function onUse(cid, item, frompos, item2, topos)
local townid = 1 -- townid of the temple
local playerpos = getPlayerPosition(cid)
local newpos = {x=435, y=483, z=7}
doPlayerSendTextMessage(cid,22,"You are...