If you're making a public type of bot, aren't you supposed to make it yourself then?
Here's your issue, you (read the script creator) are using a global textfile for your commands called commands.txt, this is used on your * text event in all channels. So how about you think for a second how to fix this and then return with your idea. I'm sure it won't be too hard to reach a solution.