Added in 2.9

/pause <N>

Pauses the script for N seconds.

The internal state cannot be guaranteed so use with caution.

Parameters

<N> - The number of seconds to pause for.

Example

alias changetopic {
  echo -ag Topic before = $chan(#).topic
  topic # New topic
  pause 3
  echo -ag Topic after $chan(#).topic
}