despite them all functioning as intended
I don't think that means what you think it means. If you get "1 Unknown command" errors from the server, then one of your scripts is erroneously sending "1" commands to the server, which means that your script has a bug. You can work around it, but your best course of action is to find and fix the bug. I think the most common cause for this is the accidental use of an identifier call as a command, in which case you should add /noop in the appropriate place.