Sysop: | KK4QBN |
---|---|
Location: | Chatsworth, GA |
Users: | 37 |
Nodes: | 10 (0 / 10) |
Uptime: | 14:28:28 |
Calls: | 915 |
Calls today: | 1 |
Files: | 138,634 |
U/L today: |
0 files (0K bytes) |
D/L today: |
67 files (779M bytes) |
Messages: | 26,185 |
Posted today: | 0 |
Hi Folks:
I am starting to learn Jscript. Simple thing, how do I print something that has a CTRL A code or @LASTON@ ? I am using the userlist.js, I would ideally like to use the print or writeln command. Coming from Turbo/Free pascal, Jscript is not easy, having to unlearn the structued way. This is what I have so far:
// A sample user listing script for Synchronet v3.1+
// $Id: userlist.js,v 1.6 2019/01/11 09:37:25 rswindell Exp $
"use strict";
var str;
require("sbbsdefs.js", 'USER_DELETED');
load("sbbsdefs.js");
load("bajalib.js");
var lastuser = system.lastuser;
var s = baja.print
var u = new User;
var logons = u.logons;
printf("Alias Handle Address Location Connection Logons Security\n");
s ("tes"); print ("@LASTON@");
Hi Folks:
I am starting to learn Jscript.
Simple thing, how do I print something that
has a CTRL A code or @LASTON@ ?
s ("tes"); print ("@LASTON@");