Hello i have problem i don't know how to do hotkey to use gfb when is more than 3+ necro,shadow pupil,blood hand,Priestess,blood priest. Its easy to simple hotkey but i wanna get like from bugwt free scripts like this for ancient scarab how can i change it for my options ?
auto(200)
local monsters = {'ancient scarab'}
local sdAmount = tonumber(getuseroption("AmounttoSD")) -- amount to sd
local gfbAmount = tonumber(getuseroption("AmounttoGFB")) -- amount to shoot gfb
local pvp = getuseroption("SafeAreaSpell")
local strikeType = 'frigo'
if $vocshort == 'S' then
strikeType = 'flam'
end
if $targeting and $attacked.id ~= 0 then
if maround(10, unpack(monsters)) >= sdAmount and getuseroption("UseSD") and itemcount("sudden death rune") > 0 then
if $attacked.name == "Ancient Scarab" then
useoncreature('sudden death rune', $attacked.id)
wait(300)
end
elseif cooleddown('attack') then
local besttile = getarearunetile(not pvp, unpack(monsters))
if besttile.amount >= gfbAmount and getuseroption("UseGFBS") and (not pvp or $timems - $playerlastseen > 6000) and $hppc > 50 and itemcount("great fireball rune") > 0 then
pausewalking(500)
useitemon('great fireball rune', 0, besttile.tile)
wait(100,200)
elseif cancastspell('exori gran '..strikeType, $attacked) and getuseroption("StrongStrike") and $attacked.name == "Ancient Scarab" and $attacked.hppc > 20 then
cast('exori gran '..strikeType)
wait(100,200)
elseif cancastspell('exori flam', $attacked) and $attacked.name == "Ancient Scarab" then
cast('exori flam')
wait(100,200)
end
end
end