Re: scripts\rom/bot.lua:681: bad argument #1
Posted: Mon Feb 04, 2013 3:40 am
nope, you need to do it again.
why would you check you have 0 of the bow in inventory though?
something more like this
Code: Select all
if 1 > inventory:itemTotalCount("Rune Catapult") or 1 > inventory:itemTotalCount("Rune War Bow") then
something more like this
Code: Select all
if inventory:itemTotalCount("Rune Catapult") == 1 and 999 > inventory:itemTotalCount("Runic Thorn") then
inventory:useItem(212236)
elseif inventory:itemTotalCount("Rune War Bow") == 1 and 999 > inventory:itemTotalCount("Runic Thorn") then
inventory:useItem(212183)
end