Results 1 to 5 of 5

Thread: What is wrong with that?

  1. #1
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5

    What is wrong with that?

    PHP Code:
    if maround(5'energy elemental') > 2 then moveitems("energy ring",LootBP,"ring",1)
    elseif 
    maround(5'energy elemental') < 2 then moveitems(ring,"ring",LootBP,1)
    end 
    When its on, its block BP.
    Always search a first free slot in bp (scroll bp). Its impossible to see ex. first line of bp i there is more than 4 items... WTF?!

  2. #2
    iBot User
    Join Date
    Oct 2012
    Posts
    255
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    31
    Rep Power
    5
    hard english :C

  3. #3
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
    Google translator rulez... ;/

  4. #4
    Banned
    Join Date
    Jun 2012
    Location
    Internet
    Posts
    845
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    113
    Rep Power
    0
    Code:
    local CREATURES = {"frost dragon"} -- add more if wanted
    local AMOUNT = 3
    local RING = "energy ring"
    
    if (maround(6,false,unpack(CREATURES)) >= AMOUNT and not manashielded and ring == 0) then
        moveitems(RING,"all","ring",1)
    elseif (maround(6,false,unpack(CREATURES)) < AMOUNT and manashielded and ring > 0) then
        moveitems(ring,"ring","all",1)
    end
    by soder

  5. #5
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
    I will check it.

    Polak Polaka zrozumie. )

Posting Permissions

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