Signup Now
Results 1 to 5 of 5

Thread: RuleValue

  1. #1
    Free User
    Join Date
    Feb 2016
    Posts
    27
    Reputation
    10
    Rep Power
    0

    RuleValue

    Hello I wanna try make script to change value in supply list. i dont know what's wrong, can anyone help me? script doesn't work atm .. ;/
    PHP Code:
    auto(100)
    local a math.random(1.00,70.00)
    local b 130.00
    local c 
    b
    setsetting
    ('Supplies/SupplyList/Mana Potion/Rule/RuleValue'c

  2. #2
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    I can't tell what it is that you want to do?

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  3. #3
    Free User
    Join Date
    Feb 2016
    Posts
    27
    Reputation
    10
    Rep Power
    0
    i want to buy potions to random cap.

  4. #4
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    setsetting('Supplies/Items/Mana Potion/DownTo', c)

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

  5. #5
    Free User
    Join Date
    Feb 2016
    Posts
    27
    Reputation
    10
    Rep Power
    0
    working great! thanks mate

 

 

Posting Permissions

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