Results 1 to 7 of 7

Thread: SoulPoint checker not working.

  1. #1
    iBot User
    Join Date
    Aug 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    SoulPoint checker not working.

    I have it checking for Soul points, but for some reason it just leaves and won't check and hunt what it is supposed to.

    Code:
    if (itemcount('mana potion') <= minMp) or (cap < minCap) or (Soul >= maxSP) then
    gotolabel('LeaveHunt') else
    gotolabel('StartHunt')
    end
    Code:
        nameMp = "Mana Potion" -- Mana potion to use
        maxMp = 400 -- Number of Mana potions to buy
        minMp = 50 -- Number of Mana potions to stop hunting
        priceMp = 50 -- Mana potions price
        nameSd = "Sudden Death Rune"
        maxSd = 50
        minSd = 10
        priceSd = 108
        -- General Setup
        minCap = 30 -- Minimum Capacity to have to stop hunting
        alertCap = 0 -- Alert on low Cap
        maxSP = 199 -- Maximun SoulPoints to leave hunt

  2. #2
    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
    use "soul", not "Soul"

  3. #3
    iBot User
    Join Date
    Aug 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    I am trying something simple just to test it....

    Code:
    if soul > 70
        then gotolable("w000")
            else gotolable("w010")
    end
    my soul is at 100+ so it SHOULD go to w000, instead it goes to w010
    Last edited by Judoas; 10-14-2013 at 04:55 AM.

  4. #4
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    are you sure soul is not working?
    keep in mind that iBot is case sensitive and you should use soul not Soul

    also to verify it use the following action:
    Code:
    print(soul)
    and check the value on your debug window.
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  5. #5
    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
    Quote Originally Posted by Judoas View Post
    I am trying something simple just to test it....

    Code:
    if soul > 70
        then gotolable("w000")
            else gotolable("w010")
    end
    my soul is at 100+ so it SHOULD go to w000, instead it goes to w010
    no "gotolable()", function is "gotolabel()"

    PHP Code:
    if soul 70 then 
    gotolabel
    ("enoughtsoul")
            else 
    gotolabel("stilltolov")
    end 
    Last edited by RafiXWPT; 10-14-2013 at 12:20 PM.

  6. #6
    iBot User
    Join Date
    Aug 2013
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    haha, spelling error.... thanks RafiXWPT, I feel like an idiot now! haha

  7. #7
    Normal User
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    I paid 1 month ibot but so far not received, what is happening?

    I want my month iboi

Posting Permissions

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