Signup Now
Results 1 to 3 of 3
  1. #1
    Free User
    Join Date
    May 2015
    Posts
    28
    Reputation
    10
    Rep Power
    0

    (Persistent) Put "X" Ring if "Y" Monster on Screen

    Hello, can someone make me a persistent to wear "Sword Rings" if there are "Dragon Lords" on my screen?/////

    will that work??

    init start
    local ring = 'x'
    local monsters = {"y"}
    init end

    auto(200)
    if maround(8, unpack(monsters)) >= 1 and $finger.id == 0 then
    equipitem(ring, 'finger')
    elseif maround(8, unpack(monsters)) == 0 and $finger.id ~= 0 then
    moveitems(ring, 0, 'finger')
    end

  2. #2
    Free User
    Join Date
    Aug 2014
    Posts
    93
    Reputation
    9
    Rep Power
    0
    @lostmayhem
    init start
    local toequip = 3 -- amount monsters to equip ring
    local monsters = {'Dragon Lord'} -- name of monster(s) to equip ring
    local ringname = 'Sword Ring'
    init end

    auto(200)
    if (maround(10, table.unpack(monsters)) >= toequip) then
    -- Check if isn't already wearing the ring
    if $finger.id ~= iteminfo(ringname).id then
    pausewalking(300,500)
    equipitem(ringname, "finger")
    waitping()
    end
    elseif (maround(10, table.unpack(monsters)) < toequip) then
    if $finger.id == iteminfo(ringname).id then
    pausewalking(300,500)
    unequipitem('finger')
    waitping()
    end
    end
    Last edited by SuNe; 08-27-2015 at 11:14 AM.

  3. #3
    Free User
    Join Date
    May 2015
    Posts
    28
    Reputation
    10
    Rep Power
    0
    Man thanks a lot, I will test it tonight and see if it works

    you're awesome

 

 

Posting Permissions

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