Results 1 to 3 of 3

Thread: Script !

  1. #1
    iBot User
    Join Date
    Aug 2012
    Posts
    159
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    11 Post(s)
    Reputation
    14
    Rep Power
    5

    Script !

    HELP :
    I need a script in which if any people are in the screen , use energy ring , if no people put it back to bp again , and if people on the screen , go to labe X ? PLEASE!

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    312
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    try this
    PHP Code:
    if (paround(8) > 1)
    then moveitems('energy ring''ring')
    gotolabel('leave')
    else 
    moveitems('energy ring'backpack')
    end 
    idk if it will work and it could be made much better but cba

  3. #3
    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
    Code:
    local LABEL = true -- dont edit
    local LABEL_NAME = "LabelName"
    local RING_BACKPACK = "Blue Backpack"
    
    -- [[ Engine ]] --
    if (paround(9) > 0) and (ring == 0) then
        moveitems("energy ring",RING_BACKPACK,"ring",1)
        if LABEL then
            gotolabel(LABEL_NAME)
            LABEL = false
        end
    elseif (paround(9) == 0) and (ring == 3088) then
        moveitems(3088,"ring",RING_BACKPACK,1)
        LABEL = true
    end
    Last edited by soder; 09-16-2012 at 12:09 AM.

Posting Permissions

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