Results 1 to 2 of 2

Thread: My action is acting weird

  1. #1
    iBot User
    Join Date
    Aug 2013
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    10
    Rep Power
    4

    My action is acting weird

    Sometimes it opens first the GoldBp, so bp 01 will be the main bp..

    Code:
    if ((maround(7, false)) == 0) then
        if ((getsettings("Settings\\CaveBot\\Enabled") == "yes") and ((windowcount(MainBP) ~= 1)or (windowcount(GoldBP) ~= 1) or (windowcount() < 2))) 
    then
        setcavebot('no')
        pausewalking(12000)
        closewindows()
        wait(1000, 1200)
        openitem(MainBP, 'back')
        wait(1000, 1200)
        resizewindow(MainBP, 0)
        wait(1000, 1200)
        openitem(GoldBP, MainBP, true)
        wait(1000, 1200)
        resizewindow(GoldBP, 0)
        wait(1000, 1200)
        pausewalking(0)
        setcavebot('yes')
    end
    end

  2. #2
    Focus Group Targets's Avatar
    Join Date
    Nov 2013
    Location
    PoA - Brazil
    Posts
    456
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    48 Post(s)
    Reputation
    109
    Rep Power
    5
    Lua Code:
     
    if ((maround(7, false)) == 0) then
        if ((getsettings("Settings\\CaveBot\\Enabled") == "yes") and ((windowcount(MainBP) ~= 1)or (windowcount(GoldBP) ~= 1) or (windowcount() < 2))) 
    then
        setcavebot('no')
        pausewalking(12000)
        closewindows()
        wait(1000, 1200)
        while(windowcount(MainBP) == 0) do
             openitem(MainBP, 'back')
             wait(1000, 1200)
             resizewindows()
             wait(1000, 1200)
        end
        while(windowcount(GoldBP) == 0 and windowcount(MainBP) == 1) do
             openitem(GoldBP, MainBP, true)
             wait(1000, 1200)
             resizewindows()
             wait(1000, 1200)
        end
        pausewalking(0)
        setcavebot('yes')
    end
    end



Posting Permissions

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