[MERGED] Adding a simple on/off mechanism to my code

This topic has been merged into How do i add a "switch" to code.