Code:
Name: 'Random Mob Purge', VNum: [ 1375], RNum: [ 454]
Trigger Intended Assignment: Rooms
Trigger Type: Random , Numeric Arg: 100, Arg list: None
Commands:
* This script checks if anyone is in the room. If so each mob has a 50% chance of
* being purged 5% of the time.
eval target %self.people%
while %target%
eval tmp_target %target.next_in_room%
if %target.vnum% != -1 && %random.2% != 1
%echo% The gods destroy %target.name%
%purge% %target%
end
eval target %tmp_target%
done
for TBA.