TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Digital Man
from: deon
date: 2022-04-30 22:17:00
subject: bbs.atcodes()

Hey DM,

I've been playing with bbs.atcodes(), and I've noticed the following:

synchronet: term Node 1  Replacing [@DATETIME-L15@] with [Sat Apr 30 2022]
synchronet: term Node 1  Replacing [@TIME-L8@] with [09:42 pm]

synchronet: term Node 1  Replacing [@DATETIMEL15@] with [null]
synchronet: term Node 1  Replacing [@TIMEL8@] with [null]

synchronet: term Node 1  Replacing [@STATS.LTODAY-Z2@] with []
synchronet: term Node 1  Replacing [@STATS.TTODAY-Z2@] with []

synchronet: term Node 1  Replacing [@STATS.LTODAY@] with [5]
synchronet: term Node 1  Replacing [@STATS.TTODAY@] with [31]

ie:

If I use the pipe delimiter (I'm using the word  above only in this message), I'm getting "null" instead of the value (it works with the dash delimiter).

For the STATSXXX I'm getting nothing returned (regardless of whether I use a dash or pipe delimiter), but I do get a return if I remove the delimiter altogether.

This is: JSexec v3.19c-Linux master/c0f42027d

I think bbs.atcodes() is not working correct, am I on the wrong track?


...лоеп

---
 ю Synchronet ю Alterant | an SBBS in Docker on Pi!
                                                                       
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.