Skip to content
Snippets Groups Projects
Commit fdb743f4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add 'L' command to run 'msglist.js'

For systems where not everyone wants to use the msglist module.
For DesotoFireflite (VALHALLA)
parent ff38466e
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
// E-mail Section
// $Id: email_sec.js,v 1.10 2020/04/24 08:05:39 rswindell Exp $
// Note: this module replaces the old ### E-mail section ### Baja code in exec/*.src
// replace "call E-mail" with "exec_bin email_sec"
......@@ -23,8 +21,11 @@ while(bbs.online && !console.aborted) {
bbs.nodesync();
console.print("\r\n\1_\1y\1hE-mail: \1n");
var wm_mode = WM_NONE;
var cmdkeys = "SARUFNKQ?\r";
var cmdkeys = "LSARUFNKQ?\r";
switch(console.getkeys(cmdkeys,K_UPPER)) {
case 'L': // List/read your mail
load({}, "msglist.js", "mail","-preview");
break;
case 'R': // Read your mail
bbs.read_mail(MAIL_YOUR, user.number);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment