help system update

This commit is contained in:
Mark 2005-05-25 17:43:35 +00:00
parent 2d26802070
commit 771c9ebc5c
3 changed files with 15 additions and 22 deletions

View file

@ -55,14 +55,14 @@ const char *ws_about[] = {
*/
static bot_cmd ws_commands[]=
{
{"START", StartWarGame, 0, 0, ws_help_start, ws_help_start_oneline},
{"STOP", StopWarGame, 0, 0, ws_help_stop, ws_help_stop_oneline},
{"JOIN", JoinWarGame, 0, 0, ws_help_join, ws_help_join_oneline},
{"REMOVE", RemoveWarGame, 0, 0, ws_help_remove, ws_help_remove_oneline},
{"PLAYERS", ShowPlayersWarGame, 0, 0, ws_help_players, ws_help_players_oneline},
{"TURN", ShowTurnWarGame, 0, 0, ws_help_turn, ws_help_turn_oneline},
{"PLAY", PlayCardsWarGame, 0, 0, ws_help_play, ws_help_play_oneline},
{NULL, NULL, 0, 0, NULL, NULL}
{"START", StartWarGame, 0, 0, ws_help_start},
{"STOP", StopWarGame, 0, 0, ws_help_stop},
{"JOIN", JoinWarGame, 0, 0, ws_help_join},
{"REMOVE", RemoveWarGame, 0, 0, ws_help_remove},
{"PLAYERS", ShowPlayersWarGame, 0, 0, ws_help_players},
{"TURN", ShowTurnWarGame, 0, 0, ws_help_turn},
{"PLAY", PlayCardsWarGame, 0, 0, ws_help_play},
{NULL, NULL, 0, 0, NULL}
};
static bot_setting ws_settings[]=

View file

@ -26,13 +26,6 @@ Bot *ws_bot;
* WarServ Module Help
*/
extern const char *ws_help_set_chan[];
extern const char ws_help_start_oneline[];
extern const char ws_help_stop_oneline[];
extern const char ws_help_join_oneline[];
extern const char ws_help_remove_oneline[];
extern const char ws_help_players_oneline[];
extern const char ws_help_turn_oneline[];
extern const char ws_help_play_oneline[];
extern const char *ws_help_start[];
extern const char *ws_help_stop[];
extern const char *ws_help_join[];

View file

@ -31,15 +31,9 @@ const char *ws_help_set_chan[] = {
/*
* Help Text
*/
const char ws_help_start_oneline[] = "Start a Game in Channel";
const char ws_help_stop_oneline[] = "Stops Game";
const char ws_help_join_oneline[] = "Join a game currently Starting";
const char ws_help_remove_oneline[] = "Remove From Game";
const char ws_help_players_oneline[] = "Display Player List In Channel";
const char ws_help_turn_oneline[] = "Display Current Player In Channel";
const char ws_help_play_oneline[] = "Play Card(s)";
const char *ws_help_start[] = {
"Start a Game in Channel",
"Syntax: \2START\2",
"",
"Starts War Game in configured Channel.",
@ -47,6 +41,7 @@ const char *ws_help_start[] = {
};
const char *ws_help_stop[] = {
"Stops Game",
"Syntax: \2STOP\2",
"",
"Stops Currently Running War Game.",
@ -57,6 +52,7 @@ const char *ws_help_stop[] = {
};
const char *ws_help_join[] = {
"Join a game currently Starting",
"Syntax: \2JOIN\2",
"",
"Joins you to the Currently Starting Game.",
@ -65,6 +61,7 @@ const char *ws_help_join[] = {
};
const char *ws_help_remove[] = {
"Remove From Game",
"Syntax: \2REMOVE <nick>\2",
"",
"With No Nick specified, removes you from the current game.",
@ -78,6 +75,7 @@ const char *ws_help_remove[] = {
};
const char *ws_help_players[] = {
"Display Player List In Channel",
"Syntax: \2PLAYERS\2",
"",
"Displays List of Current Players in channel.",
@ -85,6 +83,7 @@ const char *ws_help_players[] = {
};
const char *ws_help_turn[] = {
"Display Current Player In Channel",
"Syntax: \2TURN\2",
"",
"Shows Current Player waiting to play Cards.",
@ -92,6 +91,7 @@ const char *ws_help_turn[] = {
};
const char *ws_help_play[] = {
"Play Card(s)",
"Syntax: \2PLAY\2 # <#> <#>",
"",
"During Normal Round one card number must be entered.",