src/parse.c
changeset 18 4435146391ae
parent 16 33245bf7873a
child 19 66114d944208
equal deleted inserted replaced
17:9a32b5242320 18:4435146391ae
    44 #define    TELL 18
    44 #define    TELL 18
    45 #define      OP 19
    45 #define      OP 19
    46 
    46 
    47 const
    47 const
    48 char *COMMAND_LIST[] = {
    48 char *COMMAND_LIST[] = {
    49     "!help      Known Commands: join(1), leave(2), add(3), replace(4), delete(5), list(6), search(7), info(8)\r\n",
    49     "help      Known Commands: join(1), leave(2), add(3), replace(4), delete(5), list(6), search(7), info(8)\r\n",
    50     "!join:     Joins a new channel\r\n",
    50     "join:     Joins a new channel\r\n",
    51     "!leave:    Parts from the current channel\r\n",
    51     "leave:    Parts from the current channel\r\n",
    52     "!add:      adds an entry\r\n",
    52     "add:      adds an entry\r\n",
    53     "!replace:  replaces an entry\r\n",
    53     "replace:  replaces an entry\r\n",
    54     "!delete:   deletes an entry\r\n",
    54     "delete:   deletes an entry\r\n",
    55     "!list:     lists the number of stored values\r\n",
    55     "list:     lists the number of stored values\r\n",
    56     "!search:   searches an entry up\r\n",
    56     "search:   searches an entry up\r\n",
    57     "!info:     Prints the current Bot-Version\r\n",
    57     "info:     Prints the current Bot-Version\r\n",
    58     "!ping:     pings an host\r\n",
    58     "ping:     pings an host\r\n",
    59     "!on:       enables autolearning mode\r\n",
    59     "on:       enables autolearning mode\r\n",
    60     "!off:      disables autolearning\r\n",
    60     "off:      disables autolearning\r\n",
    61     "!debug:    prints some debug infos\r\n",
    61     "debug:    prints some debug infos\r\n",
    62     "!vaccuum:  reorganizes the database\r\n",
    62     "vaccuum:  reorganizes the database\r\n",
    63     "!logout:   Protected logout function\r\n",
    63     "logout:   Protected logout function\r\n",
    64     NULL,
    64     NULL,
    65 };
    65 };
    66 
    66 
    67 const
    67 const
    68 char VISIBLE_ITEMS = 14;
    68 char VISIBLE_ITEMS = 14;