Section One BBS

Welcome, Guest.


Subject: bbs.atcodes() Date: Sat Apr 30 2022 10:17 pm
From: deon To: Digital Man

Hey DM,

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

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

synchronet: term Node 1 <X> Replacing [@DATETIME<pipe>L15@] with [null]
synchronet: term Node 1 <X> Replacing [@TIME<pipe>L8@] with [null]

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

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

ie:

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

For the STATS<dot>XXX 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 altog
ether.

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!

Previous Message       Next Message
Replies: bbs.atcodes() (Digital Man)