Results 1 to 3 of 3

Thread: Check enchanted spears

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

    Check enchanted spears

    Well i want to check enchanted spears in the weapon slot.
    Example: I i have 15 enchanted spears with me, then i go hunt at the end of the hunt i have 5 spears left and if i have 6 spears i want the bot to continue to hunt but if i have 5 spears i want it to go to the label refill.

    This is what i got so far but this does not work.

    if weaponcount(7367) > 18 then
    gotolabel('Hunt') else
    gotolabel("Refill")
    end

    or

    if itemcount(7367) > 18 then
    gotolabel('Hunt') else
    gotolabel("Refill")
    end

  2. #2
    Normal User
    Join Date
    Aug 2012
    Posts
    82
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    16
    Rep Power
    5
    use variable ammoamount

  3. #3
    iBot User
    Join Date
    Jul 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks!
    This worked

    if ammoamount > 18 then
    gotolabel('Health') else
    gotolabel("Refill")
    end

Posting Permissions

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