self.log_msg("  /nick NAME - re-name yourself to NAME");
         self.log_msg("  /msg USER TEXT - send TEXT to USER");
         self.log_msg("  /help - show this help");
-        self.log_msg("  /P or /play - switch to play mode");
-        self.log_msg("  /? or /study - switch to study mode");
+        self.log_msg("  /%s or /play - switch to play mode" % self.keys['switch_to_play']);
+        self.log_msg("  /%s or /study - switch to study mode" % self.keys['switch_to_study']);
         self.log_msg("commands common to study and play mode:");
         self.log_msg("  %s - move" % ','.join(self.movement_keys));
         self.log_msg("  %s - switch to chat mode" % self.keys['switch_to_chat']);
 
     this.log_msg("  /nick NAME - re-name yourself to NAME");
     this.log_msg("  /msg USER TEXT - send TEXT to USER");
     this.log_msg("  /help - show this help");
-    this.log_msg("  /P or /play - switch to play mode");
-    this.log_msg("  /? or /study - switch to study mode");
+    this.log_msg("  /" + this.keys.switch_to_play + " or /play - switch to play mode");
+    this.log_msg("  /" + this.keys.switch_to_study + " or /study - switch to study mode");
     this.log_msg("commands common to study and play mode:");
     this.log_msg("  " + movement_keys_desc + " - move");
     this.log_msg("  " + this.keys.switch_to_chat + " - switch to chat mode");