Do you have any idea how to synchronize this hotkey? I made one but he shoot ava after shoot UE.(he always want to shoot avalanche first).
PHP Code:
local SPELLS = {
                
FIRST = {words "exori gran frigo"mp 120count 1},
                
SECOND = {words "exori frigo"mp 20count 1},
                }

local monsters = {"Lizard Dragon Priest""Lizard High Guard""Lizard Legionnaire"}


if (
UseUe == true) and maround(4unpack(monsters)) >= MobsToUe and (cancast(UE) == truethen
          
if paround(10true) == 0 then
                                 cast
(UE)
          
end


elseif (cancast(UE) == false) and maround(8unpack(monsters)) >= MobsToUseRune  then
if paround(10true) == and (cancast(UE) == falsethen
           
while maround(10unpack(monsters)) >= MobsToUseGfb do
           
pausewalking (4000)
           
shootarearune(RunenameMobsToUseRuneunpack(monsters))
      
end 
end

elseif maround(10unpack(monsters)) < MobsToUseRune then
if maround(10unpack(monsters)) >= SPELLS.FIRST.count and target.id ~= 0 then
        
if mp >= SPELLS.FIRST.mp and cancast(SPELLS.FIRST.wordsthen
            cast
(SPELLS.FIRST.words)        
              
end
        
if mp >= SPELLS.SECOND.mp and cancast(SPELLS.SECOND.words) and target.id ~= 0  then
            cast
(SPELLS.SECOND.words)
        
end        
    
elseif maround(1unpack(MONSTERS)) >= SPELLS.SECOND.count and target.id ~= 0 then
        
if mp >= SPELLS.SECOND.mp and cancast(SPELLS.SECOND.wordsthen
            cast
(SPELLS.SECOND.words)
                  
end
         end
end 
Any idea?