// Display list of commands
for ( Iterator iter = cmdList.iterator() ; iter.hasNext() ; ) {
Command cmd = (Command)iter.next();
// Checks if the player has the right to see the command
if ( cmd.checkAccess( playerName ) ) {
String cmdName = cmd.getName().trim();
if ( cmdName.length() > longestCmd ) { longestCmd = cmdName.length(); }
// Memorize the command name
cmdDisplay.put( cmdName, cmd );