Actions
Pause » History » Revision 3
« Previous |
Revision 3/5
(diff)
| Next »
Per Amundsen, 02/05/2023 10:28 PM
Added in 2.9
/pause [-m] <N>
Pauses the script for N seconds.
The internal state cannot be guaranteed so use with caution.
Switches
-m - Indicates N is milliseconds.
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 almost 3 years ago · 5 revisions