Results 1 to 4 of 4

Thread: Ring action

  1. #1
    iBot User aldamaru's Avatar
    Join Date
    Jun 2013
    Location
    Poland
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    4

    Ring action

    I can't find Correct Action "use stealth ring if some monsters are on the screen and put back to backpack if nobody is there"

    Have something like this but can't giveback ring. HELP ME PLEASE !

    Code:
    local Ring = "Stealth Ring"
    local BpFrom = "Camouflage Backpack"
    local Creatures = {"Demon Skeleton", "Vampire", "Mummy", "skeleton", "zombie"}
    
    if maround(7, unpack(Creatures)) >= 1 and ring == 0 then 
        moveitems(Ring, BpFrom, "ring", 1)
        wait(900,1000)
        elseif maround(7, unpack(Creatures)) == 0 and ring ~= itemid(Ring) then 
        moveitems(Ring, "ring", BpFrom, 1)
        wait(900,1000)  
    end

  2. #2
    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
    There's a different id of sealth ring and sparkling stealth ring(in use)

    local Ring = "Stealth Ring"
    local BpFrom = "Camouflage Backpack"
    local Creatures = {"Demon Skeleton", "Vampire", "Mummy", "skeleton", "zombie"}

    if maround(7, unpack(Creatures)) >= 1 and ring == 0 then
    moveitems(Ring, BpFrom, "ring", 1)
    wait(900,1000)
    elseif maround(7, unpack(Creatures)) == 0 and ring ~= 0 then
    moveitems(ring, "ring", BpFrom, 1)
    wait(900,1000)
    end

  3. #3
    iBot User aldamaru's Avatar
    Join Date
    Jun 2013
    Location
    Poland
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    4
    Quote Originally Posted by soder View Post
    There's a different id of sealth ring and sparkling stealth ring(in use)

    local Ring = "Stealth Ring"
    local BpFrom = "Camouflage Backpack"
    local Creatures = {"Demon Skeleton", "Vampire", "Mummy", "skeleton", "zombie"}

    if maround(7, unpack(Creatures)) >= 1 and ring == 0 then
    moveitems(Ring, BpFrom, "ring", 1)
    wait(900,1000)
    elseif maround(7, unpack(Creatures)) == 0 and ring ~= 0 then
    moveitems(ring, "ring", BpFrom, 1)
    wait(900,1000)
    end
    Still Not work. Can you tell me ID sealth ring and sparkling stealth ring ? I need this fuction !

  4. #4
    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
    This one should works

    PHP Code:
    local Ring "Stealth Ring"
    local RingUsing_ID 3086
    local BpFrom 
    "Camouflage Backpack"
    local Creatures = {"Demon Skeleton""Vampire""Mummy""skeleton""zombie"}

    if 
    maround(7unpack(Creatures)) >= and ring ~= RingUsing_ID then 
        moveitems
    (RingBpFrom"ring"1)
        
    wait(900,1000)
        elseif 
    maround(7unpack(Creatures)) == and ring == RingUsing_ID then 
        moveitems
    (RingUsing_ID"ring"BpFrom1)
        
    wait(900,1000)  
    end 
    Last edited by Dehan; 09-23-2013 at 07:03 AM.
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

Posting Permissions

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