Results 1 to 7 of 7

Thread: Clear Local Chat

  1. #1
    Normal User cowboy's Avatar
    Join Date
    May 2013
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4

    Clear Local Chat

    Hello, i need an action that will clear local chat

    thanks in advance

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Explain why

  3. #3
    Normal User Y4rR0's Avatar
    Join Date
    May 2012
    Location
    Warsaw, Poland
    Posts
    596
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    87
    Rep Power
    6
    Maybe he just wants to keep his local chat clean...

  4. #4
    Normal User cowboy's Avatar
    Join Date
    May 2013
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4
    im using an action to alert on new local chat message, when bot is going back to city action is stopped and after coming back to botplace there is tons on new messages on local chat and when bot is starting the script again im getting like 235634543 alerts of new message.

  5. #5
    Normal User cowboy's Avatar
    Join Date
    May 2013
    Posts
    64
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4
    bump!

  6. #6
    Normal User SySiO's Avatar
    Join Date
    Dec 2012
    Posts
    355
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    25
    Rep Power
    5
    Well, I'm about to be sure there is no action that may make it for you, but you can try this 1 which will be looking for a specific messages.


    local msgs = getnewmessages("NPCs")
    local qtd = msgs.count-1
    for i=0,qtd do
    if msgs[qtd].text:find("hi") or msgs[qtd].text:find("leave") or msgs[qtd].text:find("you there?") or msgs[qtd].text:find("botter") then
    playsound("alert.wav")
    wait(1000, 3000)
    end
    end

Posting Permissions

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