Results 1 to 5 of 5

Thread: ROyal Spear Checker, need help ( action )

  1. #1
    iBot User
    Join Date
    May 2012
    Posts
    79
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    9
    Rep Power
    0

    ROyal Spear Checker, need help ( action )

    Hello.
    I need simple script what will just check amount of my spears - im using right now:
    if itemcount("Royal Spear") < 8 then
    gotolabel('refill')
    else
    gotolabel("hunt")
    end

    And think is its only working if i got IN BP spears ( its not counting this one's what Im using hunting ), any solutions?

  2. #2
    Normal User khamal's Avatar
    Join Date
    Jul 2012
    Location
    BR
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    5
    are you using sirmate? Sirmate 1.1.1

    download it and put in library folder.

    and put with this order
    if itemcount("Royal Spear") < 8 then gotolabel('refill')
    else gotolabel("hunt")
    end

    maybe it can solve ur problem

  3. #3
    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
    you can use weaponamount

    so..

    Code:
    if itemcount("royal spear") + weaponamount < 8 then
    gotolabel('refill')
    else
    gotolabel("hunt")
    end

  4. #4
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    why checking royal spears inside bp? just check only weaponamount
    PHP Code:
    if weaponamount spear_check then
    gotolabel
    ("refill")
    else
    gotolabel("exp")
    end 

  5. #5
    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
    Quote Originally Posted by RafiXWPT View Post
    why checking royal spears inside bp? just check only weaponamount
    PHP Code:
    if weaponamount spear_check then
    gotolabel
    ("refill")
    else
    gotolabel("exp")
    end 
    There could be royal spears in the backpack that haven't been equiped yet so always need to think every senario

Posting Permissions

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