Page 2 of 2

Re: scripts\rom/bot.lua:681: bad argument #1

Posted: Mon Feb 04, 2013 3:40 am
by lisa
nope, you need to do it again.

Code: Select all

if 1 > inventory:itemTotalCount("Rune Catapult") or 1 > inventory:itemTotalCount("Rune War Bow") then
why would you check you have 0 of the bow in inventory though?

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

Re: scripts\rom/bot.lua:681: bad argument #1

Posted: Mon Feb 04, 2013 5:09 am
by abron1
ah thank you that makes more since as you can see i tried lol