Mpd 4.4.1 User Manual : Chat Scripting
Previous: PPPoE device type commands
Next: Script file format and execution

6. Chat Scripting

Mpd includes a powerful chat scripting language for use with links of type modem, i.e., asynchronous serial ports. The language is interpreted and executed dynamically and supports fully event driven processing with timeouts and regular expression pattern matching.

Much of what is described below is more readily understood by looking at the mpd.script file that is included with mpd.

6.1. Script file format and execution

6.2. Events

6.2.1. Timer events
6.2.2. Match events

6.3. Sets

6.3.1. Special sets and targets

6.4. Variables

6.4.1. Special variables

6.5. Script commands

6.6. Errors

6.7. The included mpd.script


Mpd 4.4.1 User Manual : Chat Scripting
Previous: PPPoE device type commands
Next: Script file format and execution