diff --git a/xtrn/mrc/mrc-display-menu-stats.js b/xtrn/mrc/mrc-display-menu-stats.js index c1b3be5230610cde44c8bd52005b68b353305d9f..1dcfc710d7ad34842baf5aa301295af19b8e93c1 100644 --- a/xtrn/mrc/mrc-display-menu-stats.js +++ b/xtrn/mrc/mrc-display-menu-stats.js @@ -10,13 +10,13 @@ const ACTIVITY = new Array( /* 3: HI */ "\x01H\x01RHI" ); const BBSES_X = 12; -const BBSES_Y = 19; +const BBSES_Y = 18; const ROOMS_X = 23; -const ROOMS_Y = 19; +const ROOMS_Y = 18; const USERS_X = 34; -const USERS_Y = 19; +const USERS_Y = 18; const LEVEL_X = 34; -const LEVEL_Y = 18; +const LEVEL_Y = 17; const STAT_COLOR = "\x01C\x01H"; @@ -47,3 +47,6 @@ console.gotoxy(USERS_X, USERS_Y); printf("%s%s", STAT_COLOR, users); console.gotoxy(LEVEL_X, LEVEL_Y); printf("%s%s", STAT_COLOR, level); + +// Put cursor at the bottom of the menu when done displaying stats +console.gotoxy(2, 22); diff --git a/xtrn/mrc/mrc-session.js b/xtrn/mrc/mrc-session.js index 24902697ee34932f1fcb8a06e4e52a1b7131167d..9fb1f2913a84e24f5c9078faec8ff4e4cb498d3d 100644 --- a/xtrn/mrc/mrc-session.js +++ b/xtrn/mrc/mrc-session.js @@ -134,6 +134,7 @@ function MRC_Session(host, port, user, pass, alias) { alias: state.alias }) + '\r\n'); this.send_command('USERLIST', 'ALL'); + this.send_command('STATS', 'ALL'); } this.disconnect = function () {