• JS Object

    From Mortifis@VERT/ALLEYCAT to All on Fri Feb 21 15:23:29 2020
    bleh, my memory is failing ... if there a JS Object that I can use in a scriptãto test if the user is logged(or logging in) or is connected via http?ããie: if(bbs.online) console.writeln(...) else (writeln(...");ãã---ã þ Synchronet þ AlleyCat! BBS - http://alleycat.synchro.net:81ã
  • From Digital Man@VERT to Mortifis on Sat Feb 22 11:57:38 2020
    Re: JS Objectã By: Mortifis to All on Fri Feb 21 2020 03:23 pmãã > bleh, my memory is failing ... if there a JS Object that I can use in aã > script to test if the user is logged(or logging in) or is connected viaã > http?ã >ã > ie: if(bbs.online) console.writeln(...) else (writeln(...");ããSure. if(bbs.sys_status & SS_USERON) print("User is on");ããNow, the 'bbs' object is only relevant/available in the terminal server (not via http).ããIf you want to check method/protocol a user is currently using, client.protocol will contain that string (e.g. "http").ãã digital manããSynchronet "Real Fact" #25:ãThe Digital Dynamics company ceased day-to-day opperations in late 1995.ãNorco, CA WX: 56.8øF, 71.0% humidity, 0 mph W wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã