Welcome to the Builder Academy

Question Trigger of the Day - Mob purges everything on death

More
18 Jul 2013 16:36 #3466 by Rumble
Code:
Name: 'Mob Death Purges Equipment', VNum: [ 44], RNum: [ 44] Trigger Intended Assignment: Mobiles Trigger Type: Death , Numeric Arg: 100, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 * Purge all inventory first. say You damn whipper snappers. You may have beat me this time, but my equipment goes only to those who deserve it. emote donates everything. eval i %self.inventory% while %i% set next %i.next_in_list% %purge% %i% eval i %next% done * While we have an equipment slot, purge that too. eval i 0 while %i% < 18 eval item %self.eq(%i%)% if %item% %purge% %item% end eval i %i%+1 done
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.249 seconds