@Raphael @Riku @Lucas Terra @Leonardo @Garkstal
We need Backup ! whats your toughts about this, you are probleby the best scripters here on forums =)
@Raphael @Riku @Lucas Terra @Leonardo @Garkstal
We need Backup ! whats your toughts about this, you are probleby the best scripters here on forums =)
@terje
Just switch the two items.
Last edited by Riku; 03-18-2015 at 03:31 PM.
gonna test, nah just figure out if maybe they know and can help im gonna test now
@Riku it takes on the energy ring, but above the HP to equip might ring again it doesnt switch off the energy ring again it just keeps the energy ring on
PHP Code:
init start
local Keys = {
Key1 = "F1",
Key1minHP = 1, -- In percentages.
Key1maxHP = 60,
Key1equip = "energy ring", -- Item
Key2 = "F2",
Key2minHP = 61,
Key2maxHP = 100,
Key2equip = "might 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
switched from 99 to 100, at the equip might ring ~~
but when i switvched it to 100, the character laggs, and is hard to move, cuz it tries to move the energy ring and it presses f2 all the time :O
maybe there is a way to make it press like only once, or press until the might ring is actually at PLACE ?
@terje
Oh well that's not what you asked me to put in (atleast not what I understood).. Here you go.
Last edited by Riku; 03-18-2015 at 03:31 PM.
@RikuPHP Code:
error in Hotkey script energyring scruipt:
["if (Keys.Key1equip:lower() == "e..."]:energyring scruipt:17 attempt to index field 'Key1equip' (a number value)
That's what it does though, and hence why I put the Max HP% to 99. You could put it to 100. But this one should ONLY "spam" it every 0.4 seconds if the ring is not in your finger slot.
EDIT: Can you print the ring ID of Might Ring in use? Is it the same? Put in a persistent and enable, and press CTRL + E with WindBot open.
auto(1000)
print($finger.id)
Last edited by Riku; 03-18-2015 at 03:19 PM.
Yeah, noticed it just spammed when it was at 100, but when its on 99 it didnt switch back but i dont know now tho,
Still getting error when i tries it now :O