Added MarkCommand function to sendMessage().