Hello I need a persistent for my character use a Matermind potion at main backpack. I dont know if is a persistent or hotkey. Please help i need it
Hello I need a persistent for my character use a Matermind potion at main backpack. I dont know if is a persistent or hotkey. Please help i need it
all vocations
auto(TimeCheck*1000)
local UsePotions = true
local HuntSections = {'Hunt'} --{'Hunt'} or {'Floo 1', 'Floor 2'}
local TimeCheck = 60 --seconds
if $connected then
if UsePotions then
if table.find(HuntSections, $wptsection) then
if table.find({'druid', 'sorcerer'}, $vocation) then
if itemcount('mastermind potion') > 0 then
useitem('mastermind potion')
wait(200,500)
end
elseif $vocation == 'paladin' then
if itemcount('bullseye potion') > 0 then
useitem('bullseye potion')
wait(200,500)
end
elseif $vocation == 'knight' then
if itemcount('berserk potion') > 0 then
useitem('berserk potion')
wait(200,500)
end
end
end
end
end
Bro thanks i use in Persistent ? Or Hotkey ?
@Cisco I have a problem...
error in Cavebot script Pot:
["auto(TimeCheck*1000)"]:Pot:1 attempt to perform arithmetic on global 'TimeCheck' (a nil value)
@Voiiz
test...
auto(TimeCheck*1000)
init start
local UsePotions = true
local HuntSections = {'Hunt'} --{'Hunt'} or {'Floo 1', 'Floor 2'}
local TimeCheck = 60 --seconds
init end
if $connected then
if UsePotions then
if table.find(HuntSections, $wptsection) then
if table.find({'druid', 'sorcerer'}, $vocation) then
if itemcount('mastermind potion') > 0 then
useitem('mastermind potion')
wait(200,500)
end
elseif $vocation == 'paladin' then
if itemcount('bullseye potion') > 0 then
useitem('bullseye potion')
wait(200,500)
end
elseif $vocation == 'knight' then
if itemcount('berserk potion') > 0 then
useitem('berserk potion')
wait(200,500)
end
end
end
end
end
@Cisco now ITS OK.. VERY THANKS BROOO <3