X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FDXProtout.pm;h=e00e1d724f3e44618b782a249bea0a172ca0fee9;hb=495e620d66fbc1b8c64dd65ff8d89fc43a2e6f08;hp=63bc5a3b08a5ba8fbb88abc8b49eaab1dfe2efca;hpb=57c9c65161ea49fee9d6f22be329f2faa490a46f;p=spider.git diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 63bc5a3b..e00e1d72 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -19,9 +19,6 @@ use DXDebug; use strict; -use vars qw($VERSION $BRANCH); -($VERSION, $BRANCH) = dxver(q$Revision$); - use vars qw($sentencelth); $sentencelth = 180; @@ -417,6 +414,24 @@ sub pc92c return _gen_pc92('C', 1, @_); } +# send a 'find' message +sub pc92f +{ + my $target = shift; + my $from = shift; + return "PC92^$main::mycall^" . gen_pc9x_t() . "^F^$from^$target^H99^" +} + +# send a 'reply' message +sub pc92r +{ + my $to = shift; + my $target = shift; + my $flag = shift; + my $ms = shift; + return "PC92^$main::mycall^" . gen_pc9x_t() . "^R^$to^$target^$flag^$ms^H99^" +} + sub pc93 { my $to = shift; # *, callsign, chat group name, sysop