Pause » History » Version 1
Per Amundsen, 08/29/2017 04:53 PM
| 1 | 1 | Per Amundsen | _Added in 2.9_ |
|---|---|---|---|
| 2 | |||
| 3 | */pause <N>* |
||
| 4 | |||
| 5 | Pauses the script for N seconds. |
||
| 6 | |||
| 7 | _The internal state cannot be guaranteed so use with caution._ |
||
| 8 | |||
| 9 | *Parameters* |
||
| 10 | |||
| 11 | <N> - The number of seconds to pause for. |
||
| 12 | |||
| 13 | *Example* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | alias changetopic { |
||
| 17 | echo -ag Topic before = $chan(#).topic |
||
| 18 | topic # New topic |
||
| 19 | pause 3 |
||
| 20 | echo -ag Topic after $chan(#).topic |
||
| 21 | } |
||
| 22 | </pre> |