Can somebody help me fix a hotkey? When the monsters appears the spell starts spamming, but it continuous after the monster is dead, so it's wastes a bunch of manas...
local msgs = getmessages("Server Log")
local qtd = msgs.count-1
for i=0,qtd do
if (msgs[qtd].text:find("due to an attack by a draken spellweaver.")) and (paround() == 0) and (maround(1,"Draken Spellweaver") == 0) then
usehotkey("F10") -- hotkey use exori
If it's possible please? (: