Results 1 to 4 of 4

Thread: Need an wtp action to turn off an action in list.

  1. #1
    iBot User gullefjung's Avatar
    Join Date
    Aug 2012
    Location
    Stockholm
    Posts
    29
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    13
    Rep Power
    5

    Need an wtp action to turn off an action in list.

    As the title says. the list action is
    '
    Code:
    local Ammo = positive(weaponamount + itemcount(ammuname))
    
    if posz == 6 and Ammo <= ammutoback then 
        setsettings("Settings\\Targeting\\Enabled", "no")
        setsettings("Settings\\Looting\\Enabled", "no")
        gotolabel("Leave")
    else
        setsettings("Settings\\Targeting\\Enabled", "yes")
        setsettings("Settings\\Looting\\Enabled", "yes")
    end
    Since when i get to the last wtp in my script it starts from the top again (when i'm in DP) but the action forces my bot to the leave wtp evrytime i get to dp.
    So the script just stops

    Thanks in advance

  2. #2
    iBot User gullefjung's Avatar
    Join Date
    Aug 2012
    Location
    Stockholm
    Posts
    29
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    13
    Rep Power
    5
    Ahh nvm delete this post please, found out how to write it


    Code:
    setsettings("Settings\\Actions\\List\\ForceRefill\\Enabled", "no")

  3. #3
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    389 Post(s)
    Reputation
    366
    Rep Power
    10
    @gullefjung
    HAMMARBY!

  4. #4
    iBot User gullefjung's Avatar
    Join Date
    Aug 2012
    Location
    Stockholm
    Posts
    29
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    13
    Rep Power
    5
    @Drakke
    Soon back in the top <3

Posting Permissions

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