- # add yourself to the database
- my $node = DXNode->get($main::mycall) or die "$main::mycall not allocated in DXNode database";
- my $cuser = DXNodeuser->new($self, $node, $call, 0, 1);
- $node->dxchan($self) if $call eq $main::myalias; # send all output for mycall to myalias
-
- # issue a pc16 to everybody interested
- my $nchan = DXChannel->get($main::mycall);
- my @pc16 = DXProt::pc16($nchan, $cuser);
- for (@pc16) {
- DXProt::broadcast_all_ak1a($_);
- }
- Log('DXCommand', "$call connected");
-
- # send prompts and things
- my $info = DXCluster::cluster();
- $self->send("Cluster:$info");
- $self->send($self->msg('namee1')) if !$user->name;
- $self->send($self->msg('qthe1')) if !$user->qth;
- $self->send($self->msg('qll')) if !$user->qra || (!$user->lat && !$user->long);
- $self->send($self->msg('hnodee1')) if !$user->qth;
- $self->send($self->msg('m9')) if DXMsg::for_me($call);
- $self->send($self->msg('pr', $call));
-