2022-04-18 11:27:25 +00:00
|
|
|
/**
|
|
|
|
* Go through our messages and tag a frame id for messages without one.
|
|
|
|
*/
|
|
|
|
|
|
|
|
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++) {
|
|
|
|
writeln('Area: '+ma.areas[i].full_name);
|
|
|
|
writeln('Total Messages: '+ma.areas[i].list.length);
|
|
|
|
|
|
|
|
writeln('Tagged Messages: '+ma.areas[i].list_tagged.length);
|
|
|
|
writeln(' '+ma.areas[i].list_tagged.map(function(x) { return x.tags; }).sort().join('|'));
|
|
|
|
|
|
|
|
writeln('Untagged Messages: '+ma.areas[i].list_untagged.length);
|
2022-04-24 12:36:47 +00:00
|
|
|
writeln(' '+ma.areas[i].list_untagged.map(function(x) { return x.number; }).sort(function(a,b) { return a-b; }).join('|'));
|
2022-04-18 11:27:25 +00:00
|
|
|
|
|
|
|
ma.areas[i].tag_msgs();
|
|
|
|
}
|