add Pause Listener
Adds a listener that will run when the script is paused by the pause button
Parameters
listener
the script pause listener
Adds a listener that will run when the script is paused by the pause button
the script pause listener