File: cmdhelp.c

package info (click to toggle)
xshipwars 1.32-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 17,176 kB
  • ctags: 6,357
  • sloc: ansic: 157,152; makefile: 226; sh: 75
file content (26 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "swserv.h"


int CmdHelp(int condescriptor, char *arg)
{
        char sndbuf[CS_DATA_MAX_LEN];


        sprintf(sndbuf,
 "boot  create  createp  chown  disk  ecoprodcreate  ecoproddelete  ecoprodset"
        );
        NetSendLiveMessage(condescriptor, sndbuf);

        sprintf(sndbuf,
 "eta  examine  find  help  id  kill  memory  netstat  ps  recycle  recycleplayer"
        );
        NetSendLiveMessage(condescriptor, sndbuf);

        sprintf(sndbuf,
 "save  score  set  shutdown  siteban  synctime  tune  unrecycle  wall  who"
        );
        NetSendLiveMessage(condescriptor, sndbuf);


        return(0);
}