On 23 Jul 2019, PalKat said the following...
Sorry if this has been addressed already but just wondering...With MRC is there a way to see who is in the chat with out entering it?!
I am sure there is but have not dug into that as I have not had any free time to and just thought of this driving down the road today. So figured
I would just ask.
Not sure if it's been answered yet already, I think StackFault was planning
on implementing some sort of JSON based API that you can query the server to get back that kind of information. Currently there isn't any implemented way
to do this, at least to my knowledge.
The only thing you can do to interrogate the server and get back something is to find out how many bbses are connected, how many rooms there are
currently, how many users are online, how much activity there is on the
server.
To do this, you can use netcat from the linux terminal like this;
$ echo "~" ! nc mrc.thebottomlessabyss.net 5000
Use a pip character instead of the exclamation. I don't think I can put a
pipe char in here or it'll go bananas.
The output will be something like;
60 1 2 1
The first number is the connected bbses
The second number is the number of rooms active
The third number is the number of users total on the server
The fourth number is a representation of activity;
* 0 = NUL or no activity
* 1 = LOW activity
* 2 = MED activity
* 3 = HI activity
You can use this to put some stats on a webpage nicely, or as some realtime information on your bbs like I have on my website
https://www.meatlotion.com and in my bbs main, message and file menus.
Hope this helps.
---
|14Best regards,
|11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N
|07ÄÄ |08[|10eml|08] |
15ml@erb.pw |07ÄÄ |08[|10web|08] |15www.erb.pw |07ÄÄÄ¿ |07ÄÄ |08[|09fsx|08] |1521:1/158 |07ÄÄ |08[|11tqw|08] |151337:1/101 |07ÂÄÄÙ |07ÄÄ |08[|12rtn|08] |1580:774/81 |07ÄÂ |08[|14fdn|08] |152:250/5 |07ÄÄÄÙ
|07ÄÄ |08[|10ark|08] |1510:104/2 |07ÄÙ
--- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
* Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)