Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
864d21c4
Commit
864d21c4
authored
1 year ago
by
Rob Swindell
Browse files
Options
Downloads
Plain Diff
Merge branch 'mrc' into 'master'
MRC minor tweaks & fixes: See merge request
!369
parents
b0e467f5
4005f378
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!455
Update branch with changes from master
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
xtrn/mrc/mrc-display-menu-stats.js
+7
-4
7 additions, 4 deletions
xtrn/mrc/mrc-display-menu-stats.js
xtrn/mrc/mrc-session.js
+1
-0
1 addition, 0 deletions
xtrn/mrc/mrc-session.js
with
8 additions
and
4 deletions
xtrn/mrc/mrc-display-menu-stats.js
+
7
−
4
View file @
864d21c4
...
...
@@ -10,13 +10,13 @@ const ACTIVITY = new Array(
/* 3: HI */
"
\
x01H
\
x01RHI
"
);
const
BBSES_X
=
12
;
const
BBSES_Y
=
1
9
;
const
BBSES_Y
=
1
8
;
const
ROOMS_X
=
23
;
const
ROOMS_Y
=
1
9
;
const
ROOMS_Y
=
1
8
;
const
USERS_X
=
34
;
const
USERS_Y
=
1
9
;
const
USERS_Y
=
1
8
;
const
LEVEL_X
=
34
;
const
LEVEL_Y
=
1
8
;
const
LEVEL_Y
=
1
7
;
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
);
This diff is collapsed.
Click to expand it.
xtrn/mrc/mrc-session.js
+
1
−
0
View file @
864d21c4
...
...
@@ -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
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment