Re: Couple of JS Questions
By: Digital Man to Apam on Mon May 23 2022 10:00 pm
I'm working on a mod to turn on a light when I have active nodes - however sometimes the light will stay on after someone logs off, even when no one else is logged in - but there is a active connection by a bot, scanner, or network call of some kind. I'm currently using server.clients to get this number but it's leaving the light on (and not in a good Motel 6 kind of way)
Is there a better way to get the number of actual nodes with a user actually logged in?
| Sysop: | Xerxes |
|---|---|
| Location: | Azle, Texas |
| Users: | 158 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 493878:10:01 |
| Calls: | 3,350 |
| Calls today: | 0 |
| Files: | 198 |
| U/L today: |
0 files (0K bytes) |
| D/L today: |
23 files (531K bytes) |
| Messages: | 103,737 |
| Posted today: | 0 |