Project

General

Profile

Pause » History » Revision 4

Revision 3 (Per Amundsen, 02/05/2023 10:28 PM) → Revision 4/5 (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 instead. milliseconds. 

 *Parameters* 

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

 *Example* 

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