|--- Macro Castskills.mac
|--- Written by Armysoldier
|--- for REDGUIDES!!!
|---
|--- Work your casting skills while AFK
|--- or while on the toon being PLed
|---
|--- usage /mac Castskills
|--- Park yourself in a safe place -
|--- I like PoK .. you don't take damage from casting nukes on yourself
#include spell_routines.inc
#turbo
#Event Zoned "#*#You have entered#*#"
#Event Mana "#*#Insufficient Mana#*#"
|--- Set for spells to be in slots 1 -5
|--- one spell for each ability you want to work
|--- Ensure you save the spell set as CS or edit line 13 to your spellset name
Sub Main
/memspellset CS
/delay 20s
:begin
/target myself
/call cast "${Me.Gem[1]}" gem1
/delay 5s
/autoinventory
/doevents
/call cast "${Me.Gem[2]}" gem2
/delay 5s
/autoinventory
/doevents
/call cast "${Me.Gem[3]}" gem3
/delay 5s
/autoinventory
/doevents
/call cast "${Me.Gem[4]}" gem4
/delay 5s
/autoinventory
/doevents
/call cast "${Me.Gem[5]}" gem5
/delay 5s
/autoinventory
/doevents
/goto :begin
/return
Sub Event_Zoned
/echo died or instanced ended.. time to go
/twist off
/circle off
/delay 5s
/sit
/camp desk
/endmac
/return
Sub Event_Mana
/sit
:loop
/delay 15S
/echo checking my mana
/if ( ${Me.PctMana}==100 ) /return
/goto :loop
:endloop
/return