Yo i wonder if its possible lets say i want this to press f5 if hppc = 60 and press f6 if hppc 80 and if hppc 40 press f4
possible ?
Yo i wonder if its possible lets say i want this to press f5 if hppc = 60 and press f6 if hppc 80 and if hppc 40 press f4
possible ?
@terje
If Hppc what? I'm guessing its for some healer but... Yeah this is possible using WB Hotkeys.
yes its for some healer, but if HP goes below like 60% press f5, etrc etc etc
Not CAST exura gran, but press that hotkey
wb hotkeys????
Code:auto(10) if $hppc < 70 then wait(10,30) keyevent('F5') elseif $hppc > 90 then wait(10,30) keyevent('F4') end
Like this, But when pressing F4, it shouldnt spam f4. it shouldnt spam at all thies hotkeys, only press once IF the hppc is under, or over, but it keeps spamming. suggestions?
bump!
F5 = energy ring with equip, and F4 = might ring i tried to make a energy ring script like this, but it keeps spamming the F4 the might ring like crazy
@terje
Oh yes that's fully possible. I understand now. I can make you something like this, that isn't hard. Let me finish what I was doing first though.
@terje
This should work.... Although a bit unsure if itemid("might ring") returns the same id as an equipped might ring. Same with energy ring.
init start
local Keys = {
Key1 = "F1",
Key1minHP = 1, -- In percentages.
Key1maxHP = 89,
Key1equip = "might ring", -- Item
Key2 = "F2",
Key2minHP = 90,
Key2maxHP = 99,
Key2equip = "energy ring"
}
init end
auto(400)
if ($hppc >= Keys.Key1minHP) and ($hppc <= Keys.Key1maxHP) and ($finger.id ~= itemid(Keys.Key1equip)) then
keyevent(Keys.Key1)
end
if ($hppc >= Keys.Key2minHP) and ($hppc <= Keys.Key2maxHP) and ($finger.id ~= itemid(Keys.Key2equip)) then
keyevent(Keys.Key2)
end
Last edited by Riku; 03-18-2015 at 02:39 PM.
@Riku
it puts on the energy ring, but it doesnt switch to might ring if above up
cuz i want it to for example
If HP% under 60 ENERGY RING instantly, ( press key F5 )
and HP% over 90% put Might ring ( INSTANTLY with hotkeys press F4. )
:O