Loop?

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

nitan
orc pawn
orc pawn
Posts: 15
Joined: Fri Aug 20, 2004 9:41 pm

Loop?

Post by nitan » Thu Aug 26, 2004 2:06 am

Why does this loop with out casting anything? Basicly, I just want to keep twiching untill I issue a /end command manually.

Sub Main

:doitagain

/cast "Sedulous Subversion"

:waitforgem

/if (!${Me.Spellready["Sedulous Subversion"]}) /goto :waitforgem
else /goto :doitagain

/return

Thanks for any help
Nitan

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Thu Aug 26, 2004 2:25 am

try

Code: Select all

/if (!${Me.Spellready["Sedulous Subversion"]}) {
/goto :waitforgem 
} else /goto :doitagain 
instead. also you might want to put a /delay 1 in there to stop from flogging yourself, so to speak

User avatar
Night Hawk
a grimling bloodguard
a grimling bloodguard
Posts: 590
Joined: Fri Aug 13, 2004 4:56 pm

Post by Night Hawk » Thu Aug 26, 2004 6:21 am

it is SpellReady not Spellready

nitan
orc pawn
orc pawn
Posts: 15
Joined: Fri Aug 20, 2004 9:41 pm

Post by nitan » Thu Aug 26, 2004 11:02 am

Great, thanks for the help guys. Now I get to be an afk twich bitch!

Nitan