I added this one to my quest example after I realized others could steal quest items when not even on the quest.
Code:
Name: 'Quest Token check if player is on quest - 15',  VNum: [  169], RNum: [  169]
Trigger Intended Assignment: Objects
Trigger Type: Get , Numeric Arg: 100, Arg list: None
Commands:
* By Rumble of The Builder Academy    tbamud.com 9091
if !%actor.varexists(on_quest_zone_1)%
  %send% %actor% You are not on a quest, don't steal other peoples quest items!
  return 0
end
 
If this was helpful please 
    vote
 or leave a 
    review 
for TBA.