Results 1 to 7 of 7

Thread: I need Disable targeting go refiller my char no have more spear atak moster help

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

    Unhappy I need Disable targeting go refiller my char no have more spear atak moster help

    I need help My rp ,I need disable targeting go refiller no have spear and ataka moster help or I need 3 spear disable targeting and go to refiller

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    This will stop attack and targeting and go to X label when 0 spears.
    If more than 0 spears then it will start targeting again.
    PHP Code:
    local CONFIG = {
        
    SPEARS_TO_REFILL 0,
        
    REFILL_LABEL "Refill",
    }

    if (
    weaponamount <= CONFIG.SPEARS_TO_REFILL) and (targetingthen
        settargeting
    ("no")
        
    stopattack()
        
    gotolabel(CONFIG.REFILL_LABEL)
    elseif (
    weaponamount CONFIG.SPEARS_TO_REFILL) and not (targetingthen
        settargeting
    ("yes")
    end 
    Last edited by soder; 10-18-2012 at 08:23 AM.

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    thx bro

  4. #4
    Normal User
    Join Date
    Jul 2012
    Location
    Warsaw, PL
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    8
    Rep Power
    0
    Btw for future, this is english section, for "weird" languages visit brazil section.

  5. #5
    Normal User dragonicevo's Avatar
    Join Date
    May 2012
    Location
    canada
    Posts
    1,600
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    65
    Rep Power
    8
    umm soder is beast gratz on 666 post when i am reading this
    http://www.tibiaibot.com/forum/showt...2925#post42925 for basic setup for knight

    If i helped or you liked my scripts rep + me

    trusted free scripts by pink_panther and 3173654 and acid alchamy and marlhex and spens13

  6. #6
    Normal User
    Join Date
    Jun 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Hello I need Disable targeting go refiller


    local CONFIG = {
    SPEARS_TO_REFILL = 0,
    REFILL_LABEL = "Refill",
    }

    if (weaponamount <= CONFIG.SPEARS_TO_REFILL) and (targeting) then
    settargeting("no")
    stopattack()
    gotolabel(CONFIG.REFILL_LABEL)
    elseif (weaponamount > CONFIG.SPEARS_TO_REFILL) and not (targeting) then
    settargeting("yes")
    end



    ??? I bot No disable my targeting help me Show photos soder

  7. #7
    Normal User
    Join Date
    Sep 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    if weaponamount == 0 then
    setsettings("Settings\\Targeting\\Enable","no")
    else
    setsettings("Settings\\Targeting\\Enable","yes")
    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
  •