So I use a unique key to mark a quest/reward, and set it's value to 1 to mark it as received.
I get that part, thanks alot for the explanation! @Colandus
The part in my script that I don't get past now is this:
if isInArray(voc, player:getVocation()) then