Results 1 to 3 of 3

Thread: stealth ring action

  1. #1
    Focus Group sunlips's Avatar
    Join Date
    Feb 2013
    Location
    WWA
    Posts
    644
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    47 Post(s)
    Reputation
    60
    Rep Power
    5

    stealth ring action

    if 0 mana potions then use stealth ring [in ring slot i use wedding ring] , i have if more than 5monsters he use stealth ring but now if 0 mana potions then use stealth ring

  2. #2
    Normal User mistgun's Avatar
    Join Date
    Nov 2012
    Location
    LDZ
    Posts
    333
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    41
    Rep Power
    5
    PHP Code:
    local nameMp "Mana potion" 
    local minMp 

    if itemcount(nameMp) == minMp and ring ~= 0 then 
        moveitems
    ('Stealth ring''all''ring'1
    elseif 
    itemcount(nameMp) > minMp and ring == 'Stealth Ring' then
        moveitems
    ('Wedding Ring''all''ring'1)
    end 
    try it but i didnt test it.
    Last edited by mistgun; 07-05-2013 at 02:22 PM.
    LATEST FREE AND PAID SCRIPTS

    Ghostland: EK Coryms Cave: EK
    Peninsula Tomb: EK, MS/ED Mount Sternum: EK
    Dwarf City: EK Nightstalkers Mountain: ED, MS

  3. #3
    Normal User
    Join Date
    Sep 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    PHP Code:
    ringid 3049 -- ID or name of ring
    ringuse 
    3086 -- ID of Ring in use or use 'ring.id()' for move alsome (allring in bag

    if (ring ~= ringidthen
        moveitems
    (ringid,'all''ring'1)
    else
        
    moveitems(ringuse,'ring','all',1
    end 

Posting Permissions

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