| Macro : SpellSetLoader |
| Created By: Vayeco Dynn |
| Release Date: Oct 10, 2004 |
| Version: 1.0 |
|--------------------------------|
|----------------------------------------------------------------------|
| Usage: |
| |
| In Sub Main, change the spells to whatever you want them to be. Then |
| save the macro as something that you'll remember for that spell set. |
| For example: MemDefaultSpells.mac |
| To then memorize this set of spells, use: /macro MemDefaultSpells |
| or whatever you saved the file as. You can make as many spell sets |
| you'd like! |
|----------------------------------------------------------------------|
|--------------------------------------------------------------------------------
|SUB: Main
|--------------------------------------------------------------------------------
Sub Main
|:: Change these to your liking ::|
/call MemSpell 1 "Smite"
/call MemSpell 2 "Poopie"
/call MemSpell 3 "Kaakaa"
/call MemSpell 4 "Feign Death"
/call MemSpell 5 "Gate"
/call MemSpell 6 "Snoop Dogg"
/call MemSpell 7 "Christina Applegate"
/call MemSpell 8 "Amputate Leg"
/delay 5
/return
|--------------------------------------------------------------------------------
|SUB: Memorize A Spell
|--------------------------------------------------------------------------------
Sub MemSpell(int GemSlot, string SpellName)
/if (!${Defined[GemSlot]} || !${Defined[SpellName]}) {
/echo /call MemSpell [GemSlot] [SpellName] failed, parameters not given.
/endmacro
}
/if (${Me.Gem[${SpellName}]} == ${GemSlot}) {
/return
}
/if (${Me.Book[${SpellName}]}) {
/echo Memorizing ${SpellName} into Gem ${GemSlot}
/memspell ${GemSlot} "${SpellName}"
/delay 5
:MemWait
/if (!${Me.Gem[${GemSlot}].ID}) {
/delay 1
/goto :MemWait
}
} else {
/echo Error: You do not have ${SpellName} memorized in your spell book. Ending macro.
/endmacro
}
/return