Results 1 to 6 of 6

Thread: Weird action buggin

  1. #1
    Normal User
    Join Date
    Aug 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Weird action buggin

    Hey, here's the cavebot action thats buggin:

    Code:
    wait(300)
    if itemcount(mana) < manamin
    or itemcount(hpotion) < hpotionmin
    or cap < Capleave
    or itemcount('voodoo doll') == 1
    or posz ~= 8
    then gotolabel("Leave1")
    end
    Everything works fine except the Voodoo doll part, it doesnt go to label 'Leave1' if it's got one.
    Anyone got any tips?

    Thanks in advance.

  2. #2
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    use the itemid instead.

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Okay, now I've got this:

    Code:
    wait(300)
    if itemcount(mana) < manamin
    or itemcount(hpotion) < hpotionmin
    or itemcount('3002') == 1
    or cap < Capleave
    or posz ~= 8
    then gotolabel("Leave1")
    end
    I just realized that if I got so lucky to loot 2 before reaching the next check it wouldnt deposit, so any idea how to change it to 1+ instead of just 1?

    thanks

  4. #4
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    it should be:

    itemcount(3002) >= 1


    Which means greater or equal to 1

  5. #5
    Normal User
    Join Date
    Aug 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Alright, thanks for the quick answers!

  6. #6
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    no problem!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •