Spawn Watcher macro
Posted: Thu May 03, 2007 2:01 pm
This macro watches as many spawns in the zone as you want. It builds an INI called Spawns.ini, and stores the info there. It will store info in the following format:
[Name of mob]
day : time=Start Up/Start Down/Up/Down
It records the status of mobs when macro starts, and then records any status changes. Perfect for finding the spawn timer on mobs.
Camp.mac:
[Name of mob]
day : time=Start Up/Start Down/Up/Down
It records the status of mobs when macro starts, and then records any status changes. Perfect for finding the spawn timer on mobs.
Camp.mac:
Code: Select all
Sub Main
/declare x int outer
/for x 1 to ${Math.Calc[${Param0.Count[,]}+1]}
/declare v${x} int outer 0
/if (${SpawnCount[${Param0.Arg[${x},,]}]}) /varset v${x} 1
/ini "Spawns.ini" "${Zone.Name} : ${Param0.Arg[${x},,]}" "${Time.Date} ${Time.Time24}" "Start ${If[${v${x}},Up,Down]}"
/next x
:loop
/for x 1 to ${Param0.Count[,]}
/if (${v${x}}==1 && !${SpawnCount[${Param0.Arg[${x},,]}]}) {
/ini "Spawns.ini" "${Zone.Name} : ${Param0.Arg[${x},,]}" "${Time.Date} ${Time.Time24}" "Down"
/varset v${x} 0
/beep
}
/if (${v${x}}==0 && ${SpawnCount[${Param0.Arg[${x},,]}]}) {
/ini "Spawns.ini" "${Zone.Name} : ${Param0.Arg[${x},,]}" "${Time.Date} ${Time.Time24}" "Up"
/varset v${x} 1
/beep
/beep
}
/next x
/goto :loop
/return