2022-04-18 11:27:25 +00:00
|
|
|
/**
|
|
|
|
* Go through our messages and tag a frame id for messages without one.
|
2022-12-15 12:28:25 +00:00
|
|
|
* @note: May need to run jsexec with -m 32MB to overcome memory issues
|
2022-04-18 11:27:25 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
load('load/string.js');
|
|
|
|
load('ansitex/load/msgbases.js');
|
|
|
|
|
2022-04-24 12:36:47 +00:00
|
|
|
const ma = new MsgAreas()
|
2022-04-18 11:27:25 +00:00
|
|
|
for (var i=0;i<ma.areas.length;i++) {
|
2022-12-15 12:28:25 +00:00
|
|
|
if (argv[0] && (argv[0] !== ma.areas[i].msgbase.cfg.code))
|
|
|
|
continue;
|
|
|
|
|
2022-05-15 00:55:55 +00:00
|
|
|
writeln('Area : '+ma.areas[i].full_name);
|
|
|
|
writeln('Total Messages : '+ma.areas[i].headers.length);
|
|
|
|
writeln('- Tagged Messages : '+ma.areas[i].list_tagged.length);
|
|
|
|
writeln('- Untagged Messages: '+ma.areas[i].list_untagged.length);
|
2022-04-18 11:27:25 +00:00
|
|
|
|
|
|
|
ma.areas[i].tag_msgs();
|
|
|
|
}
|