All chat messages are either checked for equality to command strings which are not followed by spaces or are checked to start with command strings followed by a space, and use the constants' length (plus one, for the space) to get the command argument.