If I have my teleport scroll actionid set to 45001, and the itemid is 2345, what should I change on this?
function onUse(cid, item, fromPosition, itemEx, toPosition)
if not getCreatureCondition(cid, CONDITION_INFIGHT) then
doTeleportThing(cid, getPlayerMasterPos(cid))...