How do I insert delays in scripts?

Sometimes you need a script to pause for a short time before executing the next step. A typical case is when you need to change the IP of a Helm device to target a different machine. A small delay is needed to allow the device to establish communication before you...