Results 1 to 2 of 2

Thread: action verificar quants bp tem aberta

  1. #1
    iBot User
    Join Date
    Jul 2013
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    14
    Rep Power
    4

    action verificar quants bp tem aberta

    Vi em um script esses dia, uma action para verificar qnts bp tm aberta, caso fosse diferende de X, pausava o bot e abria as bp configuradas, porem procurei e não achei mais, alguem poderia me ajudar?

  2. #2
    Normal User
    Join Date
    Jun 2013
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    4
    Eu uso este e funciona perfeitamente... (coloque como action persistent)

    Code:
    if ((windowcount(mainbp) == 0)) then
        openitem(mainBP, "back")
        wait(1000)
        resizewindows()
    end
    wait(2000)
    if ((windowcount(lootBP) == 0) and (windowcount(mainBP) == 1))
    then
        setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no")
        wait(200)
        openitem(lootBP, mainBP, true)
        wait(1000)
        resizewindows()
        wait(200)
        setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes")
    end
    wait(2000)
    if ((windowcount(goldBP) == 0) and (windowcount(mainBP) == 1))
    then
        setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no")
        wait(200)
        openitem(goldBP, mainBP, true)
        wait(1000)
        resizewindows()
        wait(200)
        setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes")
    end
    Claro que se tiver mais bps tera que incluir mais linhas de comando

Posting Permissions

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