Results 1 to 3 of 3

Thread: Help edditing this script

  1. #1
    iBot User
    Join Date
    Jul 2014
    Posts
    29
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    20
    Rep Power
    3

    Help edditing this script

    How do I add more monsters in that script?

    Code:
    local CREATURES = {"energy elemental"} -- add more if wanted
    local RING = "energy ring"
    local AMOUNT = 3 -- amoun monsters to equip ER
     
    if (maround(6,false,unpack(CREATURES)) >= AMOUNT and ring == 0) then
        moveitems(RING,"all","ring",1)
    elseif (maround(6,false,unpack(CREATURES)) < AMOUNT and ring > 0) then
        moveitems(ring,"ring","all",1)
    end

  2. #2
    iBot User
    Join Date
    Jul 2014
    Posts
    29
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    20
    Rep Power
    3
    This current script are making the ibot plus crash by the way...

  3. #3
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    955 Post(s)
    Reputation
    586
    Rep Power
    10
    Quote Originally Posted by glds95 View Post
    How do I add more monsters in that script?

    Code:
    local CREATURES = {"energy elemental"} -- add more if wanted
    local RING = "energy ring"
    local AMOUNT = 3 -- amoun monsters to equip ER
     
    if (maround(6,false,unpack(CREATURES)) >= AMOUNT and ring == 0) then
        moveitems(RING,"all","ring",1)
    elseif (maround(6,false,unpack(CREATURES)) < AMOUNT and ring > 0) then
        moveitems(ring,"ring","all",1)
    end
    local CREATURES = {"energy elemental", "next one", "next", "next3", "next4", "next5"} -- add more if wanted

    PS. Checked here all ok with that script make sure, you're using 0.2.9 ibot if you're win xp user.

Posting Permissions

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