• docs/v321_new.txt src/sbbs3/atcodes.cpp chk_ar.cpp inkey.cpp js_bbs.cp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, January 07, 2026 03:57:55
    https://gitlab.synchro.net/main/sbbs/-/commit/6a6799ad3bc20479ab6d56be
    Modified Files:
    docs/v321_new.txt src/sbbs3/atcodes.cpp chk_ar.cpp inkey.cpp js_bbs.cpp logout.cpp sbbs.h
    Log Message:
    Time-related @-code updates

    Fix: Time-used macros (for total and today) didn't account for the current call. They all do now, with the exception of STATS.TIMEON and STATS.TTODAY (there are plenty other aliases to be used to get the combined times).

    New @-codes:
    - TONLINE (Time online this call in fixed-width HH:MM:SS format)
    - TMONLINE (Time online this call in variable-width HH:MM:SS format)
    - MONLINE (Time online this call in minutes, in Xm format)
    - HRONLINE (Time online this call in minutes, e.g. Xm or estimated as X.yh)
    - TMUSED (Time used this call in variable-width HH:MM:SS format)
    - MUSED (Time used this call in minutes, in Xm format)
    - HRUSED (Time used this call in minutes, in Xm format or estimated to Xh)
    - SECLEFT (Time remaining this call in seconds)
    - TMLEFT (Time remaining this call in variable-width HH:MM:SS format)
    - MLEFT (Time remaining this call in minutes, in Xm format)
    - HRLEFT (Time remaining this call in minutes, in Xm format or X.yh)
    - TMTOTAL (Total time used by user in variable-width HH:MM:SS format)
    - LOGOFF (similar to HANGUP, but more graceful, e.g. displays logoff screens)
    ala Wildcat!

    Code cleanup:
    - Fixed up comments
    - Use new sbbs_t::timeon(), timeused(), useron_minutes_today/total() methods
    - Use the new time/tm_as_hhmmss() functions from date_str.c (noma-copy-pasta!) - Return retvals of byte_estimate_to_str() and byte_count_to_str() directly

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