edit the item variable on the init block to specify the item to be equipped, be it a ring.
code
-- ver = '1.0.2' by fanta
init start
-- player option
local useplayerring = false -- if true playerring will be enable.
Local playerring = 'life ring' -- ring name.
Local minamountt = 2 -- amount of player to use ring.
-- monster ring option
local usemonsterring = true -- if true monsterring will be enable.
Local monsterring = 'energy ring' -- ring name.
Local monsterr = {'water elemental', 'quara mantassin scout'} -- monsters.
Local minamount = 5 -- amount of monster to use ring.
Local mamount = 2 -- amount of monster to take it off.
-- do not edit below this line
item = itemid(monsterring)
item2 = itemid(playerring)
init end
auto(100, 200)
if $pzone then
pausewalking(500)
moveitems(item2, 0, "finger")
waitping()
moveitems(item, 0, "finger")
waitping()
pausewalking(0)
else
if useplayerring and $finger.id ~= item2 and itemcount(item2) > 0 and paround(10) >= minamountt and not $pzone then
pausewalking(500)
equipitem(item2, "finger")
waitping()
pausewalking(0)
elseif useplayerring and paround(10) < minamountt then
pausewalking(500)
moveitems(item2, 0, "finger")
waitping()
pausewalking(0)
end
if usemonsterring and $finger.id ~= item and itemcount(item) > 0 and (maround(10, unpack(monsterr)) >= minamount) and not $pzone then
if useplayerring and paround(10) >= minamountt then
else
pausewalking(500)
equipitem(item, "finger")
waitping()
pausewalking(0)
end
elseif usemonsterring and $finger.id > 0 and (maround(8, unpack(monsterr)) <= mamount) then
pausewalking(500)
moveitems(item, 0, "finger")
waitping()
pausewalking(0)
end
end
dear fanta, your script is not working for me while he's hunting minotaurs he doesnt put ring back to backpack... He puts it back in dead body of minotaur why ???