Results 1 to 4 of 4

Thread: Help actions

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

    Help actions

    Estou precisando de 2 actions, 1 para o char deslogar quando chegar em 100 mana potions e outra para dropar o item no chão da cave...alguém pode me ajudar?

  2. #2
    iBot User Raph_'s Avatar
    Join Date
    Feb 2013
    Posts
    391
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    59
    Rep Power
    4
    Code:
    if itemcount("mana potion") < 100 then
    	if maround() == 0 then
    		if not battlesigned then
    			logout()
    			wait(500, 1000)
    		else
    			closetibia()
    		end
    	end
    end
    Code:
    --[[ INIT START ]]--
    	local ITEMS = {"plate armor", "plate legs", "brass armor", "brass legs"}
    --[[ INIT END ]]--
    
    for _, v in ipairs(ITEMS) do
    	if itemcount(v) > 0 then
    		dropitems(itemid(v))
    		wait(300, 600)
    	end
    end

  3. #3
    Normal User
    Join Date
    Oct 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Obrigado

  4. #4
    Normal User
    Join Date
    Oct 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Me ajuda em mais action... Estou precisando de uma para dropar vial em um sqm que eu escolher na cave, pq ele ta dropando vial em cima de onde tem que usar machete.

Posting Permissions

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