The response to line statement tells ESL that the specified response is to be triggered when a complete line of input is received from the keyboard or from a local or remote application program. ESL considers a complete line to be any stream of characters that ends with the newline (linefeed) character.
You can specify one or more match clauses showing the format or composition that a line must have before it can trigger the response; for example:
response to line "+" from Database
...
Here, the character "+" must be received within a line of text (terminated by a \n) from the application program for the response to be triggered.
The match clause is optional; for example:
response to line from Database
...
Here, if any line (or even just a newline character) is received from the application Database, the response will be taken.