function onUse(cid, item, fromPosition, itemEx, toPosition)
local promoteablevocs = {4, 5, 6, 7} -- IDs of the vocs that can be promoted
if(isInArray(promoteablevocs, getPlayerVocation(cid)) == true then
doPlayerSetVocation(cid, getPromotedVocation(getPlayerVocation(cid)))...