Results 1 to 3 of 3

Thread: ajuda action para contar as quantas tarantulas o bot ja mato

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

    Question ajuda action para contar as quantas tarantulas o bot ja mato

    ajuda action para contar as quantas tarantulas o bot ja mato

  2. #2
    iBot User 3173654's Avatar
    Join Date
    Aug 2012
    Posts
    1,393
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    28 Post(s)
    Reputation
    202
    Rep Power
    9
    Cria 1 HUD e coloca isso!

    PHP Code:
    local SCREEN_XSCREEN_Y 100315 
    local CONSIDER_MONSTERS 
    = {"Tarantula"}
    function 
    formatstaminaintotime(staminaAmount)
        if 
    staminaAmount == 0 then
            
    return "00:00"
        
    else
            
    local nHours string.format("%02.f"math.floor(staminaAmount/60))
            
    local nMins string.format("%02.f"math.floor(staminaAmount - (nHours*60)))
            return 
    nHours..":"..nMins
        end
    end

    local SCRIPT_INFO 
    "Name: Task Helper\nVersion: 1.3.1\nAuthor: Ropiderz" 
    local SERVER_LOG_MSG getmessages("Server Log"
    local SERVER_LOG_MSG_COUNTKILLED_CREATURES SERVER_LOG_MSG.count 1
    for INDEX 0SERVER_LOG_MSG_COUNT do 
        if (
    SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].text:find('Loot of a') and SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].type == 19then 
            
    for _MONSTER in ipairs(CONSIDER_MONSTERS) do 
                if (
    SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].text:find(MONSTER:lower())) then 
                    KILLED_CREATURES 
    KILLED_CREATURES 
                end 
            end 
        end 
    end
        setfontcolor
    (rgbcolor(210210210))
    addtext('Tarantulas:   ' .. KILLED_CREATURES .. ''20350
    By Ropiderz..
    http://www.tibiaibot.com/forum/showthread.php?16907-FREE-Scripts-3173654&highlight=3173654+free+scripts

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    vlw ae ajudo muito

Posting Permissions

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