|Forum Home > Openkore Manuals > chat_resp.txt|
Kore can automatically reply to chat messages. If the option autoResponsein config.txt in enabled, you can configure Kore's automatic responsesin the file chat_resp.txt. This file allows you to configure Kore'sresponses to messages that contain certain words.
The format of this file is simply a set of lines that observes the following syntax:
Details <words>This is a comma-seperated list of words that Kore will listento in chat messages. If Kore hears one of these words in received chatmessages, it will reply using a random phrase from the corresponding<responses> list.<responses>This is a comma-seperated list of phrases that Kore will use as possible responses to chat messages.When using chat response, you have to keep in mind that:
Kore will not reply to repeating messages from the same player. Auto-response only works on public and private chat messages, and not on guild or party chat messages. Auto-response will not work in towns. To simulate real-time typing, there is a small calculateddelay before sending a response. This assumes that you can type at aspeed of 65 words per minute.Note. Lines that begin with the pound sign (#) are comment lines. They are ignored by Openkore.
The following is an example of an entry in chat_resp.txt:
In the example above, when someone says something that contains theword "bot" or "botter", Kore will reply with "no", "I'm not a bot" or"huh?".