Skip to content
Snippets Groups Projects
Commit 938dad65 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Give hint for ;help command upon unrecognized command input

parent afa3413a
No related branches found
No related tags found
No related merge requests found
......@@ -239,7 +239,8 @@ while(bbs.online && !js.terminated) {
if(!menu_cmd) {
console.print("\r\n\x01c\x01h" + gettext("Unrecognized command."));
if(user.settings & USER_EXPERT)
console.print(" " + gettext("Hit") + " '\x01i" + help_key + "\x01n\x01c\x01h' " + gettext("for a menu."));
console.print(" " + gettext("Hit") + " '\x01i" + help_key + "\x01n\x01c\x01h' " + gettext("for a menu."));
console.print(" " + gettext("Or type \x01y;help\x01c for more commands."));
console.newline();
continue;
}
......
  • Developer

    Looking at this, if the user isn't in expert mode, wouldn't it print

    Unrecognized command
    Or type ;help for more commands

    I would have thought it'd be a multiline if statement but it's not indented as such. I'm trying to figure out what is correct so I can incorporate it into my modded version.

  • Author Owner

    Yeah, I should remove the work "Or" there.

  • Developer

    OK, that would make sense. Thanks for the clarification.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment