Skip to content
Snippets Groups Projects
Commit b505a6e3 authored by rswindell's avatar rswindell
Browse files

Allow TG_* flags to be passed on the command-line (similar to telgate.js).

parent c3c6b6a3
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,9 @@ load("sbbsdefs.js");
write("\r\n\001h\1hPress \001yCtrl-]\001w for a control menu anytime.\r\n\r\n");
console.pause();
writeln("\001h\001yConnecting to: \001w"+argv[0]+"\001n");
bbs.telnet_gate(argv[0],TG_RLOGIN);
writeln("\001h\001yConnecting to: \001w" + argv[0] + "\001n");
var flags = TG_RLOGIN;
if (argc > 1)
flags = eval(argv[1]);
bbs.telnet_gate(argv[0], flags);
console.clear();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment