if isInArray({vocid, vocid, vocid...}, getPlayerVocation(cid)) == TRUE then
return doCombat(...)
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_SMALL, "Your vocation may not use this rune.")
return doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
end