2 # do an announce message
8 # at the moment these keywords are fixed, but I dare say a file containing valid ones
11 # Copyright (c) 1998 Dirk Koopman G1TLH
16 my ($self, $line) = @_;
17 my @f = split /\s+/, $line;
19 return (1, $self->msg('e9')) if !@f;
22 my @locals = DXCommandmode->get_all();
24 my $from = $self->call;
29 if ($sort eq "FULL") {
30 $line =~ s/^$f[0]\s+//; # remove it
32 } elsif ($sort eq "SYSOP") {
33 $line =~ s/^$f[0]\s+//; # remove it
34 @locals = map { $_->priv >= 5 ? $_ : () } @locals;
41 Log('ann', $to, $from, $line);
42 DXProt::broadcast_list("To $to de $from <$t>: $line", @locals);
44 $line =~ s/\^//og; # remove ^ characters!
45 my $pc = DXProt::pc12($from, $line, $tonode, $sysopflag, 0);
46 DXProt::broadcast_ak1a($pc);