You should be able to set up a chat command to switch the listener on and off, perhaps with a boolean stored in the state. Then in the on event, have an if statement wrapping your actual process code so that it doesnt actually do anything if the boolean is false. Edit: Ninja'd by Jakob, only by 11 hours...