i think its terribly written to be honest. and who actually is going to use it, also using a timer is messy, you should use the -u switch that it will unset it, for example set -u10 %var will set a variable for ten seconds. But if you are going to use a timer at least silence it with a . infront of it otherwise it will spam the user especially if there is a lot of text events.