Code:
Name: 'Room Door Example', VNum: [ 59], RNum: [ 59]
Trigger Intended Assignment: Rooms
Trigger Type: Door , Numeric Arg: 100, Arg list: None
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
* The first time this door is opened dump a bucket of water on the actor.
if %cmd% == open
%echoaround% %actor% As %actor.name% tries to %cmd% the door to the %direction% a bucket of water dumps on %actor.hisher% head.
%send% %actor% Splash!!
%send% %actor% A bucket of water drops on top of your head as you open the door.
%damage% %actor% 1
%echo% The door slams shut again.
* Detach this trigger so it only happens once per reboot/copyover.
detach 59 %self.id%
* Don't allow the door to be opened.
return 0
end
for TBA.