You can also use this with the 'by' keyword so
eg by W dxcc
+
+ by_dxcc - alternatively you can simply say 'by_dxcc W' instead
+ instead of 'by W dxcc'.
real or rt - Format the output the same as for real time spots. The
formats are deliberately different (so you can tell
$info = shift @list;
next;
}
- if ((lc $f eq 'spotter' || lc $f eq 'by') && $list[0]) {
+ if ((lc $f eq 'spotter' || lc $f eq 'by' || lc $f eq 'by_dxcc') && $list[0]) {
# print "got spotter\n";
$spotter = uc shift @list;
- if ($list[0] && lc $list[0] eq 'dxcc') {
+ if ($f eq 'by_dxcc') {
+ $fromdxcc = 1;
+ } elsif ($list[0] && lc $list[0] eq 'dxcc') {
$fromdxcc = 1;
shift @list;
}