Results 1 to 2 of 2

Thread: Action - Chech

  1. #1
    Normal User
    Join Date
    Jul 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Action - Chech

    Gente, preciso de um action que cheque se todas as bp estão abertas antes de ir caça...alguem pode me ajuda plz ;D

  2. #2
    Banned
    Join Date
    Jun 2012
    Location
    Ceará
    Posts
    2,114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    81
    Rep Power
    0
    Code:
    --Setup
    qtdbps = 3
    mainbp = "backpack of holding"
    lootbp = "pirate backpack"
    goldbp = "golden backpack"
    
    --Action
    while windowcount() < qtdbps do
    	setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no")
    	wait(200)
    	closewindows()
    	wait(2000)
    	openitem(mainbp, "back")
    	wait(1000)
    	resizewindows()
    	wait(900, 1100)
    	openitem(lootbp, mainbp, true)
    	wait(1000)
    	resizewindows()
    	wait(900, 1100)
    	openitem(goldbp, mainbp, true)
    	wait(1000)
    	resizewindows()
    	wait(200)
    	setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes")
    	wait(200)
    	minimizewindows("equip")
    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
  •