--- /dev/null
+#
+# set isolation for this node
+#
+# Please note that this is only effective if the user is not on-line
+#
+# Copyright (c) 1998 - Dirk Koopman
+#
+# $Id$
+#
+
+my ($self, $line) = @_;
+my @args = split /\s+/, $line;
+my $call;
+my @out;
+my $user;
+my $create;
+
+return (0) if $self->priv < 9;
+
+foreach $call (@args) {
+ $call = uc $call;
+ my $chan = DXChannel->get($call);
+ if ($chan) {
+ push @out, $self->msg('nodee1', $call);
+ } else {
+ $user = DXUser->get($call);
+ $create = !$user;
+ $user = DXUser->new($call) if $create;
+ if ($user) {
+ $user->isolate(1);
+ $user->close();
+ push @out, $self->msg($create ? 'isoc' : 'iso', $call);
+ } else {
+ push @out, $self->msg('e3', "Set/Isolate", $call);
+ }
+ }
+}
+return (1, @out);
--- /dev/null
+#
+# set user type BACK TO 'U' (user)
+#
+# Please note that this is only effective if the user is not on-line
+#
+# Copyright (c) 1998 - Dirk Koopman
+#
+# $Id$
+#
+
+my ($self, $line) = @_;
+my @args = split /\s+/, $line;
+my $call;
+my @out;
+my $user;
+my $create;
+
+return (0) if $self->priv < 5;
+
+foreach $call (@args) {
+ $call = uc $call;
+ my $chan = DXChannel->get($call);
+ if ($chan) {
+ push @out, $self->msg('nodee1', $call);
+ } else {
+ $user = DXUser->get($call);
+ return (1, $self->msg('usernf', $call)) if !$user;
+ $user->isolate(0);
+ $user->close();
+ push @out, $self->msg('isou', $call);
+ }
+}
+return (1, @out);
--- /dev/null
+#
+# set user type BACK TO 'U' (user)
+#
+# Please note that this is only effective if the user is not on-line
+#
+# Copyright (c) 1998 - Dirk Koopman
+#
+# $Id$
+#
+
+my ($self, $line) = @_;
+my @args = split /\s+/, $line;
+my $call;
+my @out;
+my $user;
+my $create;
+
+return (0) if $self->priv < 5;
+
+foreach $call (@args) {
+ $call = uc $call;
+ my $chan = DXChannel->get($call);
+ if ($chan) {
+ push @out, $self->msg('nodee1', $call);
+ } else {
+ $user = DXUser->get($call);
+ return (1, $self->msg('usernf', $call)) if !$user;
+ $user->sort('U');
+ $user->close();
+ push @out, $self->msg('nodeu', $call);
+ }
+}
+return (1, @out);
timeout 15
# don't forget to chmod 4775 netrom_call!
-connect ax25 /usr/sbin/netrom_call bbs gb7djk g1tlh
-'Connect' ''
-'Connect' 'cluster'
-'Connect'
-client gb7tlh ax25
+#connect ax25 /usr/sbin/netrom_call bbs gb7djk g1tlh
+#'Connect' ''
+#'Connect' 'cluster'
+#'Connect'
+#client gb7tlh ax25
+connect telnet dirk1
+'login' 'djk'
+'word' 'b390vpw'
+'last'
homenode => 'Home Node set to: $_[0]',
hnodee1 => 'Please enter your Home Node, set/homenode <your home DX Cluster>',
hnode => 'Your Homenode is now \"$_[0]\"',
+ iso => '$_[0] Isolated',
+ isou => '$_[0] UnIsolated',
+ isoc => '$_[0] created and Isolated',
l1 => 'Sorry $_[0], you are already logged on on another channel',
l2 => 'Hello $_[0], this is $main::mycall in $main::myqth running DXSpider V$main::version',
loce1 => 'Please enter your location,, set/location <latitude longitude>',
namee2 => 'Can\'t find user $_[0]!',
name => 'Your name is now \"$_[0]\"',
node => '$_[0] set as AK1A style Node',
+ nodeu => '$_[0] set back as a User',
nodec => '$_[0] created as AK1A style Node',
nodee1 => 'You cannot use this command whilst your target ($_[0]) is on-line',
ok => 'Operation successful',