Thanks for that. The !stest portion actually worked before. I changed it to what you suggested and it still works but only if I comment out the sweetheart portion. If the sweetheart portion is active, it doesn't reach that part of the script to respond to the !stest command.