Results 1 to 4 of 4

Thread: Action If [x] Cap loot crowbar

  1. #1
    iBot User Jerallx's Avatar
    Join Date
    Jan 2014
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    22 Post(s)
    Reputation
    22
    Rep Power
    3

    Action If [x] Cap loot crowbar

    Hey guys I need an action that active and re-active the action for example is cap = 200+ loot crowbar, if cap 200- Stop looting them I actually have this one but it's strange When it disable the looting it dosent active action again...

    PHP Code:
    if cap 200 then 
        setsettings
    ("Settings\\Looting\\List\\crowbar\\Destination""ground"
    else 
        
    setsettings("Settings\\Looting\\List\\halberd\\Destination""2"
    end 

  2. #2
    Focus Group Targets's Avatar
    Join Date
    Nov 2013
    Location
    PoA - Brazil
    Posts
    456
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    48 Post(s)
    Reputation
    109
    Rep Power
    5
    just look again... u are puting crowbar to ground and putting halberd to 02



  3. #3
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    Quote Originally Posted by Jerallx View Post
    Hey guys I need an action that active and re-active the action for example is cap = 200+ loot crowbar, if cap 200- Stop looting them I actually have this one but it's strange When it disable the looting it dosent active action again...

    PHP Code:
    if cap 200 then 
        setsettings
    ("Settings\\Looting\\List\\crowbar\\Destination""ground"
    else 
        
    setsettings("Settings\\Looting\\List\\halberd\\Destination""2"
    end 
    Lua Code:
    if cap < 200 then 
        setsettings("Settings\\Looting\\List\\crowbar\\Des  tination", "off") 
    else 
        setsettings("Settings\\Looting\\List\\crowbar\\Des  tination", "2") 
    end

  4. #4
    iBot User Jerallx's Avatar
    Join Date
    Jan 2014
    Posts
    239
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    22 Post(s)
    Reputation
    22
    Rep Power
    3
    Quote Originally Posted by Targets View Post
    just look again... u are puting crowbar to ground and putting halberd to 02

    lOL!! NOOB PLEASEE ;/

    Quote Originally Posted by Eli View Post
    Lua Code:
    if cap < 200 then 
        setsettings("Settings\\Looting\\List\\crowbar\\Des  tination", "off") 
    else 
        setsettings("Settings\\Looting\\List\\crowbar\\Des  tination", "2") 
    end
    Thanks

Posting Permissions

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