OK, what you suggested Rob, works fine, but I also want to read them in reverse order, but if I add -reverse on the command line, it doesn't do reverse, so Im assuming it can't do command stacking, or I'm looking at this all wrong. The below works fine to preview private mail.
case 'P':
// Read Private Mail With Msglist
bbs.exec("?msglist.js mail -preview");
break;
But this doesen't work, it still only does the preview, with no reverse. Sorry to keep bothering you about this. Thanks as always.
case 'P':
// Read Private Mail With Msglist
bbs.exec("?msglist.js mail -preview -reverse");
break;
So a "reverse" listing means the newest messages are at the top of the list ("reverse" chronology, towards the top of the terminal) and that is the default mode. To change the default, for mail, add to your your modopts.ini:
[msglist]
reverse_mail = false
The '-reverse' command-line option is a holdover from before I added that modopt key.
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 578 |
Nodes: | 8 (0 / 8) |
Uptime: | 30:47:48 |
Calls: | 10,736 |
Calls today: | 1 |
Files: | 5 |
Messages: | 443,217 |
Posted today: | 1 |