Written by Higamorph for Red Guides
|Written 4 of 2007
|Purpose - To automate the throw stone abilty to powerlevel a alt with the point blank damage shield method.
|The macro as written requires
mq2eqbc to be loaded.
|I suggest binding the start command to a key on the powerleveler, as it will only work with mobs in a 50 loc radius.
|Thanks to Pugs for helping me being to learn macrowriting
Sub main
/bc ********************
/bc ***Hit it started***
/bc ********************
/if (!${SpawnCount[npc radius 50]}) {
/bc **********************
/bc ***No Mobs in Range***
/bc **********************
/return
}
/keypress CYCLENPCTARGETS
/declare start int outer ${Target.ID}
/declare cnt int outer 1
/delay 1s
/disc Throw Stone
/delay 10s
/keypress CYCLENPCTARGETS
:loop
/if (${Target.ID}==${start}) {
/goto :end
} else {
/delay 1s
/varcalc cnt ${cnt}+1
/disc Throw Stone
/delay 10s
/keypress CYCLENPCTARGETS
/goto :loop
}
:end
/bc *****************************
/bc *I hit ${cnt} mobs *
/bc *****************************
/bc ***Finished ~ Ready for DS***
/bc *****************************
/end
/return