Script Command: idle


(Contents)(Previous)(Next)

Format:

idle;

The idle command temporarily suspends an executing script file. If the block containing the idle command also contains any on commands, the on commands remain active. To terminate script processing completely use the exit command.

Example:

// This script monitors the entire host session and

// sends "Yes" followed by a carriage return any time the host

// sends the string "Are You There?".

label START;

on "Are You There?" call YES_I_AM;

idle;

label YES_I_AM;

send "Yes^M";

return;


(Contents)(Previous)(Next)