Welcome to the Builder Academy

Question Trigger of the Day - Blocking Guard Mob

More
02 Aug 2013 16:23 #3686 by Rumble
Code:
Name: 'Spider Guarding Cacoon', VNum: [ ], RNum: [ ] Trigger Intended Assignment: Rooms Trigger Type: Command , Numeric Arg: 100, Arg list: o Commands: * By Rumble of The Builder Academy tbamud.com 9091 * does not work for level 32 and above. * Make sure the command is open, check for any abbrev of cacoon if %cmd.mudcommand% == open && cacoon /= %arg% * findmob checks if the mob is in the room. if %findmob.<room vnum>(<mob vnum>)% %send% %actor% The large, hairy spider blocks you. %echoaround% %actor% As %actor.name% tries to approach the cacoon but is blocked by the spider. else %send% %actor% You open the cacoon and find.... %echoaround% %actor% %actor.name% opens the cacoon. 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.188 seconds