+02Jul07=======================================================================
+1. Add a new command to show the contents of the cmd_cache. This allows those
+people whom develop their own commands to see which version they are using.
+It is called show/cmd_cache (or sh/cmd for short).
29Jun07=======================================================================
1. If a node is set/isolated then make sure that a) pc9x is not advertised
and b) pc9x is ignored.
can get confused if you are doing a lot of moving commands about or
delete a command in the local_cmd tree and want to use the normal one
again. Execute this command to reset everything back to the state it
-was just after a cluster restart.
+was just after a cluster restart. To see what is in the command cache
+see SHOW/CMD_CACHE.
=== 9^LOAD/FORWARD^Reload the msg forwarding routing table
Reload the /spider/msg/forward.pl file if you have changed it
all groups. If you use a group name then it will show only chat for
that group.
+=== 9^SHOW/CMD_CACHE^Show the real source path of commands
+It is possible in DXSpider to define local versions of commands.
+Sometimes one forgets that one has these. This command will show you
+the source path where the node is getting each one of its commands.
+
+If you find a local command that you don't want then then simply
+delete it, run LOAD/CMD_CACHE to clear out the command cache and
+try again. You will now be using the standard version.
+
=== 0^SHOW/CONFIGURATION [<node>]^Show all the nodes and users visible
This command allows you to see all the users that can be seen
and the nodes to which they are connected.
--- /dev/null
+#
+# show the contents and paths of any commands in the cmd_cache
+#
+# This will tell you whether you are using the version of the command
+# that you think you are...
+#
+# Copyright (c) 2007 Dirk Koopman G1TLH
+#
+
+my $self = shift;
+return (1, $self->msg('e5')) if $self->priv < 9;
+
+my @out = sprintf "%-20s %s", "Command", "Path";
+for (sort keys %cmd_cache) {
+ my $v = $cmd_cache{$_};
+ $v =~ s|,|/|g;
+ push @out, sprintf "%-20s %s", $_, "$v.pl";
+}
+
+return (1, @out);