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.
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
Re: @-CODES
By: Digital Man to DesotoFireflite on 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
Thanks so much for this, and the link. I really appreciate it. I see where I went wrong on the bbs.atcode, but I'm going to try the console.putmsg() first. This has been a goon learning experence for me. Again, thanks
Re: @-CODES
By: DesotoFireflite to Digital Man on Sun Apr 03 2022 07:29 pm
console.putmsg() first. This has been a goon learning experence for
https://www.youtube.com/watch?v=LCZg9yapEfk :-)
Sysop: | Xerxes |
---|---|
Location: | Azle, Texas |
Users: | 131 |
Nodes: | 10 (0 / 10) |
Uptime: | 94:10:16 |
Calls: | 3,190 |
Calls today: | 1 |
Files: | 195 |
U/L today: |
0 files (0K bytes) |
D/L today: |
0 files (0K bytes) |
Messages: | 366,142 |
Posted today: | 0 |