heres what i got atm its working
2 keys 1 cycles left radial 1 cycles right the 3rd key cycles 4 spells which is my heal self bandage mana to stam and stam to heal
it seems to miss a spell here and there yet

G13 = {"1","2","3","4","5","6","7","8"}
G14 = {"1","2","3","4","5","6","7","8"}
G7 = {"1","2","3","4"}

function OnEvent(event, arg, family)
if event == "G_PRESSED" and arg == 13 and family == "lhc" then
i13 = (i13 or 0) + 1
if i13 > #G13 then i13 = 1 end
PressKey("lalt")
Sleep(20)
PressKey(G13[i13])
Sleep(20)
ReleaseKey(G13[i13])
ReleaseKey("lalt")
elseif event == "G_PRESSED" and arg == 14 and family == "lhc" then
i14 = (i14 or 0) + 1
if i14 > #G14 then i14 = 1 end
PressKey("lctrl")
Sleep(20)
PressKey(G14[i14])
Sleep(20)
ReleaseKey(G14[i14])
ReleaseKey("lctrl")
elseif event == "G_PRESSED" and arg == 7 and family == "lhc" then
i7 = (i7 or 0) + 1
if i7 > #G7 then i7 = 1 end
PressKey("lctrl")
Sleep(20)
PressKey(G7[i7])
Sleep(20)
ReleaseKey(G7[i7])
ReleaseKey("lctrl")
end
end