Auto-Casting Shield of Maelin
Posted: Thu Aug 26, 2004 12:58 pm
Here is a lil macro I wrote to auto cast shield of maelin, the only issue I see with it is if you have shammy buff fo7, it will send on in a loop try to cast the spell. Does anyone know of a way to make a if statement check for 2 condition, ie. ony try to cast shield if no shield or no fo7.
Here is my code, I used EQBot_Man code for reference.
|===========|
| Shield of Maelin |
|===========|
/declare tempspell string local
/varset tempspell ${Me.Gem[5]}
:memspell5
/if (${Me.Buff["Shield of Maelin"].Duration}<5) {
/echo Casting Shield of Maelin
/memspell 5 "Shield of Maelin"
/if (!${String[${Me.Gem[5]}].Find["Shield of Maelin"]}>0) /goto
:memspell5
:notready5
/if (!${Me.SpellReady["Shield of Maelin"]}) {
/goto :notready5
} else {
/stand
/keypress esc
/keypress esc
/keypress esc
/cast "Shield of Maelin"
/delay 6s
/memspell 5 "${tempspell}"
/delay 5s
/stand
}
}
/if (!${Me.Buff["Shield of Maelin"].Duration}<5) /goto :memspell
/return
Thanks for any help.
Nitan
Here is my code, I used EQBot_Man code for reference.
|===========|
| Shield of Maelin |
|===========|
/declare tempspell string local
/varset tempspell ${Me.Gem[5]}
:memspell5
/if (${Me.Buff["Shield of Maelin"].Duration}<5) {
/echo Casting Shield of Maelin
/memspell 5 "Shield of Maelin"
/if (!${String[${Me.Gem[5]}].Find["Shield of Maelin"]}>0) /goto
:memspell5
:notready5
/if (!${Me.SpellReady["Shield of Maelin"]}) {
/goto :notready5
} else {
/stand
/keypress esc
/keypress esc
/keypress esc
/cast "Shield of Maelin"
/delay 6s
/memspell 5 "${tempspell}"
/delay 5s
/stand
}
}
/if (!${Me.Buff["Shield of Maelin"].Duration}<5) /goto :memspell
/return
Thanks for any help.
Nitan