Results 1 to 5 of 5

Thread: unequip rings if refiller off

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

    unequip rings if refiller off

    Hello,

    I made a script to pg low lvls mage. It uses stealth rings while hunting so when it go refill I put refiller to off.

    But I can't get my script working to remove equiped rings when refiller is off.

    PHP Code:
    if getsettings("Settings\\Refiller\\Enabled") == 'no' then 
    moveitems
    (3049"ring"MainBP1
    end 

    Any idea how I could make this work?

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    moveitems(ring, "ring", "all", 1)

    try that maybe?

  3. #3
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    Try the moveitems~ posted by pink_panther because the ring ID when in your backpack hasn't the same ID when in use.
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  4. #4
    iBot User
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    PHP Code:
    local RING_SLOT_ID ring
    local CHANGE_ITEM_NAME 
    itemname(RING_SLOT_ID)
    local SETTINGS_REFILLER getsettings("Settings\\Refiller\\Enabled")
    local TO_BP_NAME "bp_name_here"

    if RING_SLOT_ID ~= and SETTINGS_REFILLER == 'no' then
    moveitems
    (CHANGE_ITEM_NAME TO_BP_NAME"ring"1)
    end 
    Try it.

  5. #5
    Normal User
    Join Date
    Nov 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Here this action dont run...

    the CHANGE_ITEM_NAME comes empty with dwarven ring

Posting Permissions

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