Log in

View Full Version : Can anyone tell me if its possible to make this



Octra8
08-19-2016, 03:47 AM
I want a script that will use ruby on helmet of the ancients when it runs out. Its actually worth using with ruby it becomes armor 11 and I'm old school and just like the badass look of the helmet.

I know with elfbot it was possible I cant seem to figure out how to script it with this bot. Ill be using it on OT if that makes a difference.

Thanks
-Sean

Zingron
08-19-2016, 11:26 AM
Try this..


local hota = 3229
local ruby = 3030
local enchantedHota = 3230
local bp1 = Container(0)

while true do

if Self.Head().id == hota then
Self.Dequip("head")
end

if Self.ItemCount(hota) > 0 then

for spot, item in bp1:iItems() do
if item.id == hota then
hotaTemp = spot
elseif item.id == ruby then
rubyTemp = spot
end
end

bp1:UseItemWithContainerItem(hotaTemp, bp1, rubyTemp)
end

if Self.Head().id ~= enchantedHota and Self.ItemCount(enchantedHota) > 0 then
Self.Equip(enchantedHota,"head")
end

wait(1000)
end

Octra8
08-19-2016, 12:46 PM
I made some minor adjustments to it but made it work. Thank you :D