Welcome to the Builder Academy

Question Trigger of the Day - Kick Me Sign

More
24 Aug 2012 19:05 #741 by Rumble
Code:
Name: 'Kick Me Sign - O197', VNum: [ 177], RNum: [ 177] Trigger Intended Assignment: Objects Trigger Type: Random , Numeric Arg: 10, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 * Only players can activate this trig. if %self.worn_by% set actor %self.worn_by% set room_var %actor.room% wait 3 s set kickers %room_var.people% * Now loop through everyone in the room. while %kickers% * Set the next target before kicking. set next_kicker %kickers.next_in_room% if %kickers% != %actor% %send% %kickers% You can't resist the urge after seeing the sign on %actor.name%'s back. You kick %actor.himher% %send% %actor% %kickers.name% plants %kickers.hisher% firmly in your backside for no apparent reason. %echoaround% %actor% %kickers.name% kicks %actor.name% squarely in the behind after seeing the "Kick Me" sign %actor.heshe% is wearing. * Damage them... 2 hitpoints. To heal use -#. %damage% %actor% 2 end * Set the next target. set kickers %next_kicker% wait % s * Loop back. done 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.162 seconds