Results 1 to 7 of 7

Thread: dar use em item na bp

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

    dar use em item na bp

    bom galera queria um action pra dar use em item na bp nesse caso e tipo quando tiver 100 gold coins dar use pra transformar no OT algm pode ajudar? ty

  2. #2
    Normal User sonkis's Avatar
    Join Date
    Mar 2012
    Location
    Brazil
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    5
    Testa ae,

    Code:
    local itemNAME = 'gold coin'
    local itemMAX = 100
    
    if (itemcount(itemNAME) >= itemMAX) then
    	pausewalking(800)
    	useitem(itemNAME)
    	wait(6000,12000)
    end
    Ele vai clicar no gold coins quando tiver com 100 ou mais... A backpack de gold coins deverá ficar aberta.

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    nao funcionou nao

  4. #4
    Banned
    Join Date
    Jul 2012
    Location
    Santa Cruz do Sul - RS
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    0
    Code:
    -- [ Usar item dentro da backpack ] --
    local itemtouse = 'gold coin'-- Nome do item que vai usar na backpack
    local bp = 'backpack' -- Bp que ta o item para usar
    
    while itemcount(itemtouse) > 0 then
    	useitem(itemtouse, bp)
    end

  5. #5
    Normal User
    Join Date
    Aug 2012
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    cara tambem nao foi acho que e pq o gold coin na hotkey e diferente

  6. #6
    Banned
    Join Date
    Jul 2012
    Location
    Santa Cruz do Sul - RS
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    0
    Quote Originally Posted by patrickmac View Post
    cara tambem nao foi acho que e pq o gold coin na hotkey e diferente
    Tenta essa,

    Code:
    -- [ Usar item dentro da backpack ] --
    local itemtouse = 3051-- Nome do item que vai usar na backpack
    local bp = 'backpack' -- Bp que ta o item para usar
    
    while itemcount(itemtouse) > 0 then
    	useitem(itemtouse, bp)
    end

  7. #7
    Normal User
    Join Date
    Aug 2012
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    nem foi

Posting Permissions

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