Buff check

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

gumper
orc pawn
orc pawn
Posts: 16
Joined: Thu Jul 10, 2003 6:35 pm

Buff check

Post by gumper » Mon Jul 28, 2003 9:28 pm

How do I check to see if I still have a buff up? Also how do I do a mana check? I would like to be able to see if buff is up if not cast.. and if mana is ata acertain point med..

YKW-28983
a hill giant
a hill giant
Posts: 252
Joined: Sun Dec 01, 2002 11:37 pm

Post by YKW-28983 » Tue Jul 29, 2003 12:36 am

Code: Select all

/if n $char(buff,"SpellName")!=0 /goto :Buffed
:NotBuffed
/if n $char(mana,pct)>20 {
 /target myself
 /cast "Spellname"
}
:Buffed
/blah blah

gumper
orc pawn
orc pawn
Posts: 16
Joined: Thu Jul 10, 2003 6:35 pm

Post by gumper » Tue Jul 29, 2003 1:08 am

thanks alot )