diff options
-rw-r--r-- | conf/messages.conf | 16 | ||||
-rw-r--r-- | src/map/atcommand.c | 8 |
2 files changed, 12 insertions, 12 deletions
diff --git a/conf/messages.conf b/conf/messages.conf index f98a91083..e1321241d 100644 --- a/conf/messages.conf +++ b/conf/messages.conf @@ -812,18 +812,18 @@ // @recall 1020: You are not authorized to warp this player from their map. -// @charblock -1021: Please enter a player name (usage: @charblock/@block <char name>). +// @block +1021: Please enter a player name (usage: @block <char name>). -// @charban -1022: Please enter ban time and a player name (usage: @charban/@ban/@banish/@charbanish <time> <char name>). +// @ban +1022: Please enter ban time and a player name (usage: @ban <time> <char name>). 1023: You are not allowed to reduce the length of a ban. -// @charunblock -1024: Please enter a player name (usage: @charunblock <char name>). +// @unblock +1024: Please enter a player name (usage: @unblock <char name>). -// @charunban -1025: Please enter a player name (usage: @charunban <char name>). +// @unban +1025: Please enter a player name (usage: @unban <char name>). // @kick 1026: Please enter a player name (usage: @kick <char name/ID>). diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 3b06140d4..431ce12ea 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2692,7 +2692,7 @@ ACMD(char_block) memset(atcmd_player_name, '\0', sizeof(atcmd_player_name)); if (!message || !*message || sscanf(message, "%23[^\n]", atcmd_player_name) < 1) { - clif->message(fd, msg_txt(1021)); // Please enter a player name (usage: @charblock/@block <char name>). + clif->message(fd, msg_txt(1021)); // Please enter a player name (usage: @block <char name>). return false; } @@ -2728,7 +2728,7 @@ ACMD(char_ban) memset(atcmd_player_name, '\0', sizeof(atcmd_player_name)); if (!message || !*message || sscanf(message, "%255s %23[^\n]", atcmd_output, atcmd_player_name) < 2) { - clif->message(fd, msg_txt(1022)); // Please enter ban time and a player name (usage: @charban/@ban/@banish/@charbanish <time> <char name>). + clif->message(fd, msg_txt(1022)); // Please enter ban time and a player name (usage: @ban <time> <char name>). return false; } @@ -2807,7 +2807,7 @@ ACMD(char_unblock) memset(atcmd_player_name, '\0', sizeof(atcmd_player_name)); if (!message || !*message || sscanf(message, "%23[^\n]", atcmd_player_name) < 1) { - clif->message(fd, msg_txt(1024)); // Please enter a player name (usage: @charunblock <char name>). + clif->message(fd, msg_txt(1024)); // Please enter a player name (usage: @unblock <char name>). return false; } @@ -2827,7 +2827,7 @@ ACMD(char_unban) memset(atcmd_player_name, '\0', sizeof(atcmd_player_name)); if (!message || !*message || sscanf(message, "%23[^\n]", atcmd_player_name) < 1) { - clif->message(fd, msg_txt(1025)); // Please enter a player name (usage: @charunban <char name>). + clif->message(fd, msg_txt(1025)); // Please enter a player name (usage: @unban <char name>). return false; } |