Subj : String for node
To   : DesotoFireflite
From : Digital Man
Date : Wed Dec 16 2020 01:17 pm

 Re: String for node
 By: DesotoFireflite to Digital Man on Wed Dec 16 2020 02:50 pm

>   Re: String for node
>   By: Digital Man to DesotoFireflite on Mon Dec 14 2020 09:11 pm
>
>  >> the node the person is on at the present time. the same as stored in
>  >> synchronets users on today.
>
>  DM> See data/logon.jsonl and exec/logonlist.js and
>  DM> exec/load/logonlist_lib.js
>
> I saw those, and honestly, I don't have what it takes to figure it out. I
> bow my head in shame, but thats way over my head at the stage I am at trying
> to learn. I'll keep working on it, as I did figure out some other stuff, but
> I just can't figure out how to pull the node out of it. Thanks for trying to
> help, hopefully in time I will understand enough js to figure it out myself.
>
> Thanks for trying DM, I do appreciate it.

Here's a simplified example:

       var list = load({}, "logonlist_lib.js").get();
       for(var l in list)
               print(list[l].node + " " + list[l].user.alias);

There's a lot more information available than just user alias and node number, but I was just including those fields as an example. You can use this to print the entire logon info object instead of just those 2 fields, if you're curious:
       print(lfexpand(JSON.stringify(list[l], null, 4)));
--
                                           digital man

Synchronet/BBS Terminology Definition #28:
FDSZ = FOSSIL DSZ (by Chuck Forsberg)
Norco, CA WX: 73.2�F, 21.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs

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