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

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

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

#21 Post by lisa » Mon Feb 04, 2013 3:40 am

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
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

abron1
Posts: 162
Joined: Wed Feb 22, 2012 12:43 am

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

#22 Post by abron1 » Mon Feb 04, 2013 5:09 am

ah thank you that makes more since as you can see i tried lol

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests