Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

nap

The nap instruction causes the script to sleep.

Synopsis

nap (type.src)

Description

The nap instruction makes the script do nothing for the specified number of centiseconds (hundredths of a second). See the event instruction for TSM events that may interrupt the nap instruction before the specified time has passed. Unlike the sleep instruction, the nap instruction does not flush queued speech before the nap is done.

Example

In the following example, the script dials out on a channel, then waits 15 centiseconds for completion of the dial before continuing.

tic(`d',int.PHONENBR)
nap(15)

See also

© 2006 Avaya Inc. All Rights Reserved.