Results 1 to 5 of 5

Thread: Help with action

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

    Arrow Help with action

    I need to translate this action that working with neo to work with ibot...

    if ($cap <= 200 or itemcount (268) <= 50) then gotolabel ('leave') else gotolabel ('start') end

    is to check the smp and go to label ' x ' if have less than 50 strong manas or go to label ' y ' and continue hunting

    If you know how to do it help me please
    thanks

  2. #2
    Normal User
    Join Date
    Feb 2012
    Location
    Ottawa, Canada.
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5

    PHP Code:
    if cap <= 200 or itemcount("strong mana potion") <= 50 then
        gotolabel
    ("leave")
    else
        
    gotolabel("start")
    end 
    Cheers,
    WedNesDay.

  3. #3
    iBot User
    Join Date
    Apr 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Valeu velhão!
    Vc sabe a hotkey pra ir dropando os empty vials ?
    Last edited by juguidolin; 06-30-2012 at 04:23 AM.

  4. #4
    Normal User
    Join Date
    Feb 2012
    Location
    Ottawa, Canada.
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    PHP Code:
    -- Config
        local toDrop 
    50 -- if flasks toDrop.
    -- do 
    not edit above

    function flasks()
        return 
    itemcount(283) +  itemcount(284) + itemcount(285)
    end

    function dropflasks()
        
    local flaskids = {283284285}
        for 
    1#flaskids do
            
    if itemcount(flaskids[i]) > 0 then
                moveitems
    (flaskids[i], 'ground')
                
    wait(400,600)
            
    end
        end
    end

    if flasks() > toDrop then
        dropflasks
    ()
        
    wait(800,1300)
    end 
    Cheers,
    WedNesDay.

  5. #5
    iBot User
    Join Date
    Apr 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    valeu!+++++++++
    Last edited by juguidolin; 06-30-2012 at 08:11 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
  •