That is 2 questions in 1 really. If you want to spawn mobs, the command is
MonGenP "D001,150,150,140" Pig 1
MonGenP "MAP,X,Y,RADIUS" Mob Qty
The automatically part is best done using an NPC, not 00Default.....
Use [@_Startup], DelayGoto and CheckMonMap with your MonGenP
So, something like
Code:
[@_Startup]
#IF
!CheckMonMap D001 5 Pig ;Check that there are NOT (!) 5 pigs on map D001
#ACT
MonGenP "D001,150,150,140" Pig 50 ;Spawn 50 pigs!
#IF
#ACT
DelayGoto [Grobal] 600 @_Startup ;Goto @_Startup in 10 minutes to check again