+ return 'PC22^';
+}
+
+# here status
+sub pc24
+{
+ my $self = shift;
+ my $call = $self->call;
+ my $flag = $self->here ? '1' : '0';
+ my $hops = get_hops(24);
+
+ return "PC24^$call^$flag^$hops^";
+}
+
+# message start (fromnode, tonode, to, from, t, private, subject, origin)
+sub pc28
+{
+ my ($tonode, $fromnode, $to, $from, $t, $private, $subject, $origin, $rr) = @_;
+ my $date = cldate($t);
+ my $time = ztime($t);
+ $private = $private ? '1' : '0';
+ $rr = $rr ? '1' : '0';
+ return "PC28^$tonode^$fromnode^$to^$from^$date^$time^$private^$subject^ ^5^$rr^ ^$origin^~";
+}
+
+# message text (from and to node same way round as pc29)
+sub pc29
+{
+ my ($fromnode, $tonode, $stream, $text) = @_;
+ $text =~ s/\^//og; # remove ^
+ return "PC29^$fromnode^$tonode^$stream^$text^~";
+}
+
+# subject acknowledge (will have to and from node reversed to pc28)
+sub pc30
+{
+ my ($fromnode, $tonode, $stream) = @_;
+ return "PC30^$fromnode^$tonode^$stream^";
+}
+
+# acknowledge this tranche of lines (to and from nodes reversed to pc29 and pc28
+sub pc31
+{
+ my ($fromnode, $tonode, $stream) = @_;
+ return "PC31^$fromnode^$tonode^$stream^";
+}
+
+# end of message from the sending end (pc28 node order)
+sub pc32
+{
+ my ($fromnode, $tonode, $stream) = @_;
+ return "PC32^$fromnode^$tonode^$stream^";
+}
+
+# acknowledge end of message from receiving end (opposite pc28 node order)
+sub pc33
+{
+ my ($fromnode, $tonode, $stream) = @_;
+ return "PC33^$fromnode^$tonode^$stream^";
+}
+
+# remote cmd send
+sub pc34
+{
+ my($fromnode, $tonode, $msg) = @_;
+ return "PC34^$tonode^$fromnode^$msg^~";
+}
+
+# remote cmd reply
+sub pc35
+{
+ my($fromnode, $tonode, $msg) = @_;
+ return "PC35^$tonode^$fromnode^$msg^~";