DESCRIPTION:
Gets input from all attached input sources before proceeding
with the current script. This allows to have interactive
parts in scripts. If wait is given and nonzero, the input call
will block until input is received. It is recommended to set
the wait flag, if you want to give the user control for a while,
and to keep it clear, if you want to run on, regardless of
the user taking any actions.