I'm assuming you use a space between the second part of the command so, change the substrings for those functions by 1 character or you will end up getting the space with it.
ie
code:
Message.substr(4,2) == "cs"
should be
code:
Message.substr(5,2) == "cs"