Log in

View Full Version : Request withdraw sword rings from depot and use rings all time when hunting



vbamora
04-07-2016, 06:23 PM
Hi i'm in need of a script/lua that withdraws sword rings from depot box 4 and equips them when hunting.

Thanks in advance, and have a nice day!

krille09
04-07-2016, 07:08 PM
local DepotSlot = 3 -- start with 0
local Withdraw = {
{"boots of haste", "blue backpack", 100},
{"royal helmet", "green backpack", 100}
}
Self.WithdrawItems(DepotSlot, Withdraw)


Here dipshit, next time don't talk shit

Oscagi
04-07-2016, 07:17 PM
Hi i'm in need of a script/lua that withdraws sword rings from depot box 4 and equips them when hunting.

Thanks in advance, and have a nice day!


RingID = 3098
Module.New('UseRing', function(ringer)
if Self.ItemCount(RingID) >= 1 and Self.Ring().id == 0 and Self.isInPz() == false then
Self.Equip(RingID, "ring", 1)
end
end, false)





Add a label when u are on the HuntPlace and Module.Start('UseRing').

vbamora
04-07-2016, 07:28 PM
RingID = 3098
Module.New('UseRing', function(ringer)
if Self.ItemCount(RingID) >= 1 and Self.Ring().id == 0 and Self.isInPz() == false then
Self.Equip(RingID, "ring", 1)
end
end, false)





Add a label when u are on the HuntPlace and Module.Start('UseRing').

Thanks alot!

Oscagi
04-07-2016, 07:39 PM
Thanks alot!

Remember to change RingID. hehehe