A tokenizer for MC commands