Results 1 to 4 of 4

Thread: Disable targeting if low on manas

  1. #1
    Normal User
    Join Date
    Nov 2012
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    Disable targeting if low on manas

    Code:
    if itemcount("Mana potion") <= 250 then
    setsettings("Settings\\Targeting\\Enable","no")
    else
    setsettings("Settings\\Targeting\\Enable","yes")
    end
    How the hell do I do this properly? Haha

  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
    settargeting("no")
    settargeting("yes")

  3. #3
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    PHP Code:
     
    if itemcount("mana potion") <= 250
    then
        settargeting("off")
    else
        settargeting("on")
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  4. #4
    Normal User
    Join Date
    Nov 2012
    Posts
    75
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    Nice! Thanks for the fast response to the both of you!

Posting Permissions

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