Welcome to the Builder Academy

Question Trigger of the Day - Mob block opening container

More
07 Aug 2012 18:03 #564 by Rumble
Code:
Name: 'Mob Blocks opening of chest', VNum: [ 207], RNum: [ 207] Trigger Intended Assignment: Rooms 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 the commander looks up. %send% %actor% As you approach the chest the commander looks up at you. wait 1 sec %echo% The commander says, 'Get away from there.' else * If the commander is not in the room allow the "open chest" command to continue to the next command trigger. return 0 end else * If it doesn't match let the command continue. return 0 end
If this was helpful please vote or leave a review for TBA.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.155 seconds