X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fagwmonitor.pl;fp=cmd%2Fset%2Fagwmonitor.pl;h=6de81998f73c40dcc5bfde304c2080ae739151f8;hb=f48da7dcd6d8305c018bebc6ffb5c11c3346aacf;hp=0000000000000000000000000000000000000000;hpb=e9a4c82122720cd66da440e4ff6f88aaded8e146;p=spider.git diff --git a/cmd/set/agwmonitor.pl b/cmd/set/agwmonitor.pl new file mode 100644 index 00000000..6de81998 --- /dev/null +++ b/cmd/set/agwmonitor.pl @@ -0,0 +1,17 @@ +# +# set AGW engine monitoring +# +# $Id$ +# + +my $self = shift; +return (1, $self->msg('e5')) if $self->priv < 9; +if ($AGWMsg::monitor == 0) { + AGWMsg::_sendf('m'); + $AGWMsg::monitor = 1; + return (1, $self->msg('mone')); +} +return (1); + + +