1 //--------------------------------------------------------------------------
2 // command_list.h - List of all the commands for mamer and their respective
5 // Matthew E. Moses & Michael A. Long
8 // $Date: 1997/10/08 21:03:08 $
13 // $Log: command_list.h,v $
14 // Revision 1.2 1997/10/08 21:03:08 chess
17 // Revision 1.1 1997/04/08 23:12:33 chess
21 //--------------------------------------------------------------------------
27 Parameter string format
33 n - optional word or integer
35 t - optional string to end
37 If the parameter option is given in lower case then the parameter is
38 converted to lower case before being passsed to the function. If it is
39 in upper case, then the parameter is passed as typed.
43 /***********************
45 ***********************/
47 {"abort", "d", AbortTourney, MANAGER },
48 {"addabuse", "w", AddAbuse, MANAGER },
49 {"announce", "d", AnnounceTourney, MANAGER },
50 {"best", "", ListBest, USER },
51 {"close", "d", CloseTourney, MANAGER },
52 {"finger", "o", FingerUser, USER },
53 {"forfeit", "wd", ForfeitUser, MANAGER },
54 {"games", "d", ListGamesInTourney, USER },
55 {"grid", "d", ListGridForTourney, USER },
56 {"help", "o", Help, USER },
57 {"info", "p", ListTourneyInfo, USER },
58 {"join", "d", JoinTourney, USER },
59 {"last", "", LastFinishedTourneys, USER },
60 {"load", "o", LoadSavedTourney, MANAGER },
61 {"loadedusers", "", LoadedUsers, MANAGER },
62 {"manage", "d", ManageTourney, MANAGER },
63 {"managers", "", ListManagers, USER },
64 {"messman", "", MessageManagers, SUPERMANAGER },
65 {"newmgr", "w", AddManagerToList, SUPERMANAGER },
66 {"open", "d", OpenTourney, MANAGER },
67 {"pairings", "d", PairingsInTourney, USER },
68 {"players", "d", ListPlayersInTourney, USER },
69 {"pose", "wT", PoseAsMamer, PRESIDENT },
70 {"quit", "", Shutdown, SUPERMANAGER },
71 {"rank", "o", RankUser, USER },
72 {"reopen", "d", ReopenTourney, MANAGER },
73 {"resetabuse", "w", ResetAbuse, SUPERMANAGER },
74 {"results", "d", ResultsFromTourney, USER },
75 {"rmmgr", "w", DeleteManagerFromList, SUPERMANAGER },
76 {"set", "wn", SetVariable, MANAGER },
77 {"setlevel", "wd", SetManagerLevel, SUPERMANAGER },
78 {"setres", "dwwd", SetResult, MANAGER },
79 {"setscore", "dwd", SetScore, MANAGER },
80 {"standings", "d", ListStandingsTourney, USER },
81 {"start", "d", StartTourney, MANAGER },
82 {"subabuse", "d", SubtractAbuse, SUPERMANAGER },
83 {"tourneys", "", ListTourneys, USER },
84 {"unmanage", "d", UnmanageTourney, MANAGER },
85 {"uncensor", "w", UncensorUser, SUPERMANAGER },
86 {"version", "", ShowVersion, USER },
87 {"who", "d", ListPlayerInTourney, USER },
88 {"withdraw", "d", WithdrawFromTourney, USER },
89 {"worst", "", ListWorst, USER },
94 /************************
96 ************************/
99 {"adda", do_addabuse },
100 {"ann", do_announce },
103 {"for", do_forfeit },
114 {"reopen", do_reopen },
115 {"reseta", do_resetabuse },
116 {"resu", do_results },
118 {"setl", do_setlevel },
119 {"setr", do_setres },
120 {"sets", do_setscore },
121 {"stand", do_standings },
122 {"suba", do_subabuse },
123 {"unm", do_unmanage },
124 {"unc", do_uncensor },
125 {"ver", do_version },