Moderator: MacroQuest Developers
Code: Select all
#event recast "wear off message from your spell#*#"
Sub Main
:loop
/doevents
/goto :loop
/return
Sub Event_recast
cast your spell here
/return
#*# is a wild card/catch all that ignores all the text up to the point you have it in the event statement.drodaan wrote:one question though, what is the "#*#" for?
Code: Select all
#event "#*#Fred#*#"Code: Select all
#Event ImDead "You have been slain by#*#"Code: Select all
#event recast "Your _____ spell has worn off of _____.#*#"
Sub Main
/cast 2
:hot
/doevents
/if (${Me.Casting.ID}) /goto :hot
/if (${Me.PctMana}<80) /goto :canni
/goto :hot
/return
:canni
/if (!${Me.SpellReady[spellnamehere]}) /goto :hot
/cast 6
/goto :hot
Sub Event_recast
/cast 2
/return
To compensate for a fizzle try coding it like you would a hot key but use /delay instead of pause. See if that worksxomega1 wrote:Yup you would need another event to handle a fizzle.