
Originally Posted by
Elizabeth
Can always rely on u

I have this but it dequip the weapon but dont use the sapphire, and I dont find wheres the mystake, maybe @Jontor can help you.
Sorry.
lua code:
local bp = 'Dragon Backpack'
while(true) do
c = Container.GetByName(bp)
if(Self.Weapon().id == 7383) then -- Relic Sword
for spot = 0, c:ItemCount()-1 do
if c:GetItemData(spot).id == 675 then -- Small Enchanted Sapphire
Self.Dequip("weapon", c)
wait(400,500)
c:UseItemWithContainerItem(spot, 1, 0)
wait(400,500)
Self.Equip(7383, "weapon")
end
end
end
wait(2000)
end