X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=html%2Fprogram.html;h=0814370dc9c131ece713464b8cbd58b4571edf2f;hb=439f25ba04e8c4ddbd6806f31da58c0939e2c868;hp=1be759f0ab4247e031219b54a95f0f1ade2db365;hpb=162c27c4c9ce4b914770a3023957c3642ff78ac8;p=spider.git diff --git a/html/program.html b/html/program.html index 1be759f0..0814370d 100644 --- a/html/program.html +++ b/html/program.html @@ -2,7 +2,7 @@ Programming New Commands - + @@ -132,7 +132,7 @@ Last modified: Mon Dec 28 23:13:21 GMT 1998 and are subroutines derived from the DXChannel class. They effectively the following declaration :-

-  sub Emb_($self, $args)
+  sub Emb_<cmdname>($self, $args)
   {
      ...
      your code here
@@ -155,7 +155,7 @@ Last modified: Mon Dec 28 23:13:21 GMT 1998
   my @out;
 
   # check privileges
-  return (1, $self->msg('e5')) if $self->priv < 5;
+  return (1, $self->msg('e5')) if $self->priv < 5;
 
   ....
   ....
@@ -226,7 +226,7 @@ my @out;
 my $user;
 my $ref;
   
-return (1, $self->msg('e5')) if $self->priv < 9;
+return (1, $self->msg('e5')) if $self->priv < 9;
   
 foreach $call (@args) {
     $call = uc $call;
@@ -331,7 +331,7 @@ return (1, @out)
 		mean that this is a prompt and will not have a \r or \n appended to
 		it in the client for telnet sessions (only).
 
-		

  • help is kept in /spider/cmd/Command_.hlp files. +

  • help is kept in /spider/cmd/Command_<lang>.hlp files. The format of the help files should be self explanatory, but they are explained further in the files themselves.