summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-20 09:45:08 -0200
committershennetsind <ind@henn.et>2013-11-20 09:45:08 -0200
commit8ffe8285453b33d0f4266a16517ba3a6dc54e909 (patch)
treede064728ba81d1fc613c667c1ba86b91c5649d0a
parent6509516aeeb96e47d3e72d9e7137568b8fdbad24 (diff)
downloadhercules-8ffe8285453b33d0f4266a16517ba3a6dc54e909.tar.gz
hercules-8ffe8285453b33d0f4266a16517ba3a6dc54e909.tar.bz2
hercules-8ffe8285453b33d0f4266a16517ba3a6dc54e909.tar.xz
hercules-8ffe8285453b33d0f4266a16517ba3a6dc54e909.zip
Dropped some unused aliases in atcommand usage messages.
Those were prone to be confusing with the recent implementation of charban/charunban, special thanks to uzieal for bringing it up. Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--conf/messages.conf16
-rw-r--r--src/map/atcommand.c8
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;
}