Code:
local hotkeysane = "F10" -- hotkey De Exana Pox o Rune

if poisoned then
    
Self.Cast('exana pox')
wait(2000)
    -- usehotkey(hotkeysane) 
end

this script working but i need this:

Code:
local hotkeysane = "F10" -- hotkey De Exana Pox o Rune

if (poisoned) >= 10 then
    
Self.Cast('exana pox')
wait(2000)
    -- usehotkey(hotkeysane) 
end