Subj : String for node
To   : DesotoFireflite
From : Digital Man
Date : Mon Dec 14 2020 09:11 pm

 Re: String for node
 By: DesotoFireflite to Digital Man on Mon Dec 14 2020 04:05 pm

>   Re: String for node
>   By: Digital Man to DesotoFireflite on Sun Dec 13 2020 01:51 pm
>
>  DM> The current node number is available in JS via bbs.node_num.
>
> var node = formatString(bbs[i].node_num, 2);
>     node = colorizeString(node);
>
> Doesn't work

I wouldn't expect it to: 'bbs' is not an array.

> var node = formatString(bbs.node_num, 2);
>     node = colorizeString(node);
>
> Does work, but it fills every users node with the same number, looking to
> update for the one person only thats online at this time.

Yes, like I stated in my previous message, that's probably not the data you're looking for (even though that's what you asked for).

>  DM> work. Additionally, a user does not have a "node number" property. A
>  DM> user can be on multiple nodes and any node can serve any user, so the
>  DM> association doesn't really make any sense. Are you looking for the last
>  DM> node number that a user used or a node that is currently in-use or
>  DM> what? --
>
> the node the person is on at the present time. the same as stored in
> synchronets users on today.

See data/logon.jsonl and exec/logonlist.js and exec/load/logonlist_lib.js
--
                                           digital man

This Is Spinal Tap quote #12:
Nigel Tufnel: Well, I don't know - wh-wh-... what're the hours?
Norco, CA WX: 55.5�F, 38.0% humidity, 1 mph S wind, 0.02 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net