Results 1 to 5 of 5

Thread: Problem with setsettings options

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

    Problem with setsettings options

    Hello guys, I have problem with one actions. I have in setup written Trashloot = false and i have new action:

    if Trashloot
    then
    setsettings("Settings\\Looting\\List\\copper-shield\\Destination", 02),
    setsettings("Settings\\Looting\\List\\dwarven-shield\\Destination", 02),
    setsettings("Settings\\Looting\\List\\crossbow\\Destination", 02)
    setsettings("Settings\\Looting\\List\\hatchet\\Destination", 02)
    else
    setsettings("Settings\\Looting\\List\\copper-shield\\Destination","ignore"),
    setsettings("Settings\\Looting\\List\\dwarven-shield\\Destination","ignore"),
    setsettings("Settings\\Looting\\List\\crossbow\\Destination","ignore")
    setsettings("Settings\\Looting\\List\\hatchet\\Destination","ignore")
    end

    and it doesn't work, what is wrong with it?
    hilfeeee

  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
    Code:
    if Trashloot
    then
    setsettings("Settings\\Looting\\List\\copper-shield\\Destination", "02")
    setsettings("Settings\\Looting\\List\\dwarven-shield\\Destination", "02")
    setsettings("Settings\\Looting\\List\\crossbow\\Destination", "02")
    setsettings("Settings\\Looting\\List\\hatchet\\Destination", "02")
    else
    setsettings("Settings\\Looting\\List\\copper-shield\\Destination","ignore")
    setsettings("Settings\\Looting\\List\\dwarven-shield\\Destination","ignore")
    setsettings("Settings\\Looting\\List\\crossbow\\Destination","ignore")
    setsettings("Settings\\Looting\\List\\hatchet\\Destination","ignore")
    end

  3. #3
    Normal User
    Join Date
    Mar 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    It's working in 50%, it only changing destination in hatchet and crossbow. It doesn't work for dwarven shield and copper shield.

  4. #4
    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
    Change
    PHP Code:
    dwarven-shield 
    to
    PHP Code:
    dwarven shield 

  5. #5
    Normal User
    Join Date
    Mar 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks all for helping

Posting Permissions

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