Project

General

Profile

Actions

Pause » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Per Amundsen, 08/29/2017 04:53 PM


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
}

Updated by Per Amundsen over 7 years ago · 2 revisions

Also available in: PDF HTML TXT