Results 1 to 5 of 5

Thread: Hotkey Para Backpack

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

    Hotkey Para Backpack

    Gostaria de uma action para abrir qualquer bp que estiver aberta e vazia, independente da cor.

  2. #2
    Normal User
    Join Date
    May 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    alguem sabe? por favor

  3. #3
    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
    SETUP:
    Code:
    	mainbp = "backpack of holding" --backpack das costas.
    	supplybp = "jewelled backpack" --backpack de suprimentos.
    	lootbp = "pirate backpack" --backpack de loot.
    	goldbp = "golden backpack" --backpack de gold.
    ACTION:
    Code:
    if ((windowcount(mainbp) == 0)) then
    	openitem(mainbp, "back")
    	wait(1000)
    	resizewindows()
    end
    wait(2000)
    if ((windowcount(supplybp) == 0) and (windowcount(mainbp) == 1))
    then
    	openitem(supplybp, mainbp, true)
    	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

  4. #4
    Normal User
    Join Date
    May 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Vc não entendeu...quero uma action que ele abre qualquer bp...desde de que ela esteja vazia.

  5. #5
    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
    @joaodebarro
    Cara isso é complicado, você quer abrir a próxima bp ou abrir qualquer br que não tenha nada dentro? se for opennextbp é CaveBot\\Settings\\OpenNextBp.

Posting Permissions

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