]> dxcluster.org Git - spider.git/commitdiff
re-order the prompts and stuff
authorminima <minima>
Fri, 14 Sep 2001 23:43:31 +0000 (23:43 +0000)
committerminima <minima>
Fri, 14 Sep 2001 23:43:31 +0000 (23:43 +0000)
perl/DXCommandmode.pm

index 4142f043f3aa024c98e07f4f5aff57e993c2ddd0..9f3c669e26922e39a7118170887048e27ff51f30 100644 (file)
@@ -120,15 +120,6 @@ sub start
                $user->qra(DXBearing::lltoqra($lat, $long)) if (defined $lat && defined $long);  
        }
 
-       # send prompts and things
-       my $info = Route::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);
-
        # decide on echo
        if (!$user->wantecho) {
                $self->send_now('E', "0");
@@ -149,6 +140,16 @@ sub start
        my $script = new Script(lc $call) || new Script('user_default');
        $script->run($self) if $script;
 
+       # send cluster info
+       my $info = Route::cluster();
+       $self->send("Cluster:$info");
+
+       # send prompts and things
+       $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->prompt;
 }