Skip to content
Snippets Groups Projects
Commit 946a35c2 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 ef5df0ff
No related branches found
No related tags found
No related merge requests found
// E-mail Section // 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 // Note: this module replaces the old ### E-mail section ### Baja code in exec/*.src
// replace "call E-mail" with "exec_bin email_sec" // replace "call E-mail" with "exec_bin email_sec"
...@@ -23,8 +21,11 @@ while(bbs.online && !console.aborted) { ...@@ -23,8 +21,11 @@ while(bbs.online && !console.aborted) {
bbs.nodesync(); bbs.nodesync();
console.print("\r\n\1_\1y\1hE-mail: \1n"); console.print("\r\n\1_\1y\1hE-mail: \1n");
var wm_mode = WM_NONE; var wm_mode = WM_NONE;
var cmdkeys = "SARUFNKQ?\r"; var cmdkeys = "LSARUFNKQ?\r";
switch(console.getkeys(cmdkeys,K_UPPER)) { switch(console.getkeys(cmdkeys,K_UPPER)) {
case 'L': // List/read your mail
load({}, "msglist.js", "mail","-preview");
break;
case 'R': // Read your mail case 'R': // Read your mail
bbs.read_mail(MAIL_YOUR, user.number); bbs.read_mail(MAIL_YOUR, user.number);
break; break;
......
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