Results 1 to 3 of 3

Thread: Logout after NPC says a keyword in Local Chat

  1. #1
    Normal User
    Join Date
    Nov 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Logout after NPC says a keyword in Local Chat

    NPC say a keyword and the character will do an action then like moving around / logging.

  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
    Found and modified this.

    PHP Code:
    local serverlog_lines getnewmessages("Default"
    local serverlog_q serverlog_lines.count 

    for 0serverlog_q do 
        if (
    serverlog_lines[serverlog_q i].text:find("I dont know how to search") and serverlog_lines[serverlog_q i].type == 1then 
            closetibia
    ()
        
    end 
    end 

  3. #3
    iBot User
    Join Date
    Nov 2012
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    15
    Rep Power
    5
    LOL panther nice text XD made my day.

Posting Permissions

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