Yes sir. The question went unanswered and the script still some-what works. Lol. :p
You can type "/set %dice off" to end a game.