Welcome to the Builder Academy

Question Trigger of the Day - Smelly Mob

More
05 Aug 2013 15:06 #3706 by Rumble
Code:
Name: 'Smelly Bum', VNum: [ 206], RNum: [ 205] Trigger Intended Assignment: Mobiles Trigger Type: Entry , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 * A trig to let people smell the bum from 1 room away. * For the first move there is no from_room so set it. if !%from_room% eval from_room %self.room.vnum% global from_room halt end wait 1 sec eval inroom %self.room% * %at% %from_room% %echo% %self.name%'s smell slowly dissipates with %self.himher%. if %inroom.north% && %inroom.north(vnum)% != %from_room% %at% %inroom.north(vnum)% %echo% You notice a nasty smell to the south. end if %inroom.south% && %inroom.south(vnum)% != %from_room% %at% %inroom.south(vnum)% %echo% You notice a nasty smell to the north. end if %inroom.east% && %inroom.east(vnum)% != %from_room% %at% %inroom.east(vnum)% %echo% You notice a nasty smell to the west. end if %inroom.west% && %inroom.west(vnum)% != %from_room% %at% %inroom.west(vnum)% %echo% You notice a nasty smell to the east. end if %inroom.up% && %inroom.up(vnum)% != %from_room% %at% %inroom.up(vnum)% %echo% You notice a nasty smell below you. end if %inroom.down% && %inroom.down(vnum)% != %from_room% %at% %inroom.down(vnum)% %echo% You notice a nasty smell above you. end * eval from_room %self.room.vnum% global from_room
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.

More
08 Aug 2013 16:29 #3749 by Fizban
This script doesn't currently work, but it's not the fault of the script - mat has been broken for quite a while, not sure exactly when it broke though, but it definitely used to work.

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

Time to create page: 0.218 seconds