2 # do an wx message, this is identical to the announce except that it does WX
9 # at the moment these keywords are fixed, but I dare say a file containing valid ones
12 # Copyright (c) 1998 Dirk Koopman G1TLH
17 my ($self, $line) = @_;
18 my @f = split /\s+/, $line;
20 my @locals = DXCommandmode->get_all();
22 my $from = $self->call;
27 if ($sort eq "FULL") {
28 $line =~ s/^$f[0]\s+//; # remove it
30 } elsif ($sort eq "SYSOP") {
31 $line =~ s/^$f[0]\s+//; # remove it
32 @locals = map { $_->priv >= 5 ? $_ : () } @locals;
39 DXChannel::broadcast_list("WX de $from <$t>: $line", 'wx', undef, @locals);
41 $line =~ s/\^//og; # remove ^ characters!
42 my $pc = DXProt::pc12($from, $line, $tonode, $sysopflag, 1);
43 DXChannel::broadcast_nodes($pc, $main::me);