Subj : @-CODES
To   : DesotoFireflite
From : Digital Man
Date : Sun Apr 03 2022 03:07 pm

 Re: @-CODES
 By: DesotoFireflite to All on Sun Apr 03 2022 02:13 pm

> Is there a way to use @-codes in a write statement for js. Do I need to
> include anything extra in the file to make it work. I've even tried to use
> bbs.atcode(@-Code) to no avil. What am I missing. Thanks in advance.

console.putmsg() will expand @-codes, as documented here:
https://wiki.synchro.net/custom:javascript#output

If you really want to use write(), you could do:

write(bbs.atcode("@code@")); // that should work too
--
                                           digital man (rob)

Breaking Bad quote #5:
Sometimes the forbidden fruit tastes the sweetest. - Hank Schrader
Norco, CA WX: 65.2�F, 66.0% humidity, 9 mph SSW wind, 0.00 inches rain/24hrs

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