Results 1 to 2 of 2

Thread: Contar 300 Tarantulas? Tem como uma action?

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

    Red face Contar 300 Tarantulas? Tem como uma action?

    Contar 300 Tarantulas? Tem como uma action?

  2. #2
    iBot User
    Join Date
    Feb 2012
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    30
    Rep Power
    5
    Code:
    local amountkilled=0
    local msgs = getmessages("Server Log")
    local qtd = msgs.count-1
    for i=0,qtd do
       if msgs[qtd-i].type == 19 and msgs[qtd-i].text:find('Loot of a Tarantula ') then
       amountkilled=amountkilled+1
       end
    end
    addtext("Tarantulas killed:",200,150)   
    addtext(amountkilled,200+19,150)
    Testa ae por favor XD
    ___________________________________________
    abc abc toda criança tem que ler e escrever.

Posting Permissions

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