I'm using spell_routines.inc and I want my macro to check for resists after the spell was cast and then retry a certain number of times.
The .inc file says:
/call Cast "spellname|itemname|AAname|AA#" [item|alt|gem#] [give up time][s|m] [custom subroutine name] [Number of resist recasts]
So I see were to put it in my call. So I stick this in my macro:
/call cast snare gem1 7s 5
I then get an error saying there is no subroutine named 5 because the .inc file parses that command and sees 5 as the [custom subroutine name] not the [Number of resist recasts].
So short of throwing in a dummy sub that just returns once it is called, how can I do this?
Matt
The .inc file says:
/call Cast "spellname|itemname|AAname|AA#" [item|alt|gem#] [give up time][s|m] [custom subroutine name] [Number of resist recasts]
So I see were to put it in my call. So I stick this in my macro:
/call cast snare gem1 7s 5
I then get an error saying there is no subroutine named 5 because the .inc file parses that command and sees 5 as the [custom subroutine name] not the [Number of resist recasts].
So short of throwing in a dummy sub that just returns once it is called, how can I do this?
Matt