check bag is full or not

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
RooT
Posts: 12
Joined: Sun Aug 21, 2011 5:25 am

check bag is full or not

#1 Post by RooT » Sun Aug 21, 2011 5:47 am

Hello Guys =)

Little question. How i can check if the bot got a full bag or not? I want that my bot go the guy where i sell my items only when the bag is full.
sorry for my bad english.

cheater
Posts: 33
Joined: Fri Jun 17, 2011 9:17 am

Re: check bag is full or not

#2 Post by cheater » Sun Aug 21, 2011 5:49 am

Code: Select all

if inventory:itemTotalCount(0) == 0 then GO AND SELL

RooT
Posts: 12
Joined: Sun Aug 21, 2011 5:25 am

Re: check bag is full or not

#3 Post by RooT » Sun Aug 21, 2011 5:52 am

Thank you very much, i try it :)

RooT
Posts: 12
Joined: Sun Aug 21, 2011 5:25 am

Re: check bag is full or not

#4 Post by RooT » Sun Aug 21, 2011 7:17 am

got following error. Hope u can help me.
Attachments
fehler.png
test.xml
(395 Bytes) Downloaded 132 times

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: check bag is full or not

#5 Post by rock5 » Sun Aug 21, 2011 7:53 am

It's missing the "end" statement for the "if" command.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

RooT
Posts: 12
Joined: Sun Aug 21, 2011 5:25 am

Re: check bag is full or not

#6 Post by RooT » Sun Aug 21, 2011 8:17 am

Thank you!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 16 guests