Results 1 to 3 of 3

Thread: @ need a action

  1. #1
    Normal User
    Join Date
    Dec 2012
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    4

    @ need a action

    Since the i bot function alarm if loot anouncent or couldnt loot isnt working i need a new action

    if the bot loots x or y or z item play sound

  2. #2
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    PHP Code:
    local msgs getnewmessages("Server Log")
    local qtd msgs.count-

    for i=0,qtd do 
        if 
    msgs[qtd].text:find("crown armor") or msgs[qtd].text:find("gold coin")  then 
        wait 
    (3001200)
        for 
    1do
           
    playsound("alert.wav")
           
    wait(1000)
           
    flashclient()
           
    wait(300)
        
    end  
        end 
    end 

  3. #3
    Normal User
    Join Date
    Dec 2012
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    4
    Thank you bro ))

Posting Permissions

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