Code:
Name: 'Mob Blocks opening of chest',  VNum: [  207], RNum: [  206]
Trigger Intended Assignment: Mobiles
Trigger Type: Command , Numeric Arg: 100, Arg list: o
Commands:
* By Rumble of The Builder Academy    tbamud.com 9091 
* Make sure the command is open, check for any abbrev of chest
if %cmd.mudcommand% == open && chest /= %arg%
  * findmob checks if the mob is in the room.
  if %findmob.230(189)%
    %echoaround% %actor% As %actor.name% tries to approach the chest %self.name% looks up.
    wait 1 sec
    say get away from there.
  end
else
  * If it doesn't match let the command continue.
  return 0
end
 
for TBA.