tweaking grimjack's hunter, subroutine issue

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

code4food
orc pawn
orc pawn
Posts: 24
Joined: Fri Feb 20, 2004 12:31 pm

tweaking grimjack's hunter, subroutine issue

Post by code4food » Mon Feb 23, 2004 12:23 pm

i know its something blaringly obvious (and the subroutine code probably doesn't even work right), but i keep getting "Subroutine ArraySize wasn't found"
been a few years since i did 'real code' so its taking a bit to wrap my head around the nuances of this scripting language...

edit2: snip, removed the bad code

edit1: yah, i'm dumb, found it. fixing it, will post corrected code (lesson learned: don't use {} around the body of your sub's)
edit2: was a dumbass and not dereferencing correctly. update code SEEMS to work.

edit2: formalized (and working) code posted in grimjack's hunter thread in depot. enjoy.