readd set/seeme and show/seeme commands
[spider.git] / cmd / set / seemee.pl
diff --git a/cmd/set/seemee.pl b/cmd/set/seemee.pl
new file mode 100644 (file)
index 0000000..1bfbfe4
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# set the RBN seeme flag
+#
+# Copyright (c) 2000 - Dirk Koopman
+#
+#
+#
+
+my ($self, $line) = @_;
+my @out;
+
+return (0, $self->msg('e5')) unless $self->isa('DXCommandmode');
+$self->rbnseeme(1);
+$self->user->rbnseeme(1);
+$self->user->put;
+RBN::add_seeme($self->call);
+
+
+push @out, $self->msg('ok');
+return (1, @out);