From c50a6b3ea537a99cbe303361dfa94212817fc120 Mon Sep 17 00:00:00 2001 From: ai4rei Date: Fri, 7 Jan 2011 22:06:07 +0000 Subject: * Fixed @alootid using 'autolootitem' (internal name) in it's usage message (bugreport:1445, since r12203). - Reworded the turn off message of @alootid. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14654 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 3 +++ src/map/atcommand.c | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index c7fd00ea3..e7cf3f88a 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -1,5 +1,8 @@ Date Added +2011/01/07 + * Fixed @alootid using 'autolootitem' (internal name) in it's usage message (bugreport:1445, since r12203). [Ai4rei] + - Reworded the turn off message of @alootid. 2011/01/06 * Fixed script command 'deletearray' deleting incorrect amount of array elements from arrays with empty elements (bugreport:4628). [Ai4rei] 2011/01/05 diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 2747a8bfa..0979a14f8 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -6095,7 +6095,7 @@ ACMD_FUNC(autoloot) } /*========================================== - * @autolootitem + * @alootid *------------------------------------------*/ ACMD_FUNC(autolootitem) { @@ -6104,9 +6104,9 @@ ACMD_FUNC(autolootitem) if (!message || !*message) { if (sd->state.autolootid) { sd->state.autolootid = 0; - clif_displaymessage(fd, "Autolootitem have been turned OFF."); + clif_displaymessage(fd, "Autolootitem has been turned OFF."); } else - clif_displaymessage(fd, "Please, enter Item name or its ID (usage: @autolootitem )."); + clif_displaymessage(fd, "Please, enter item name or it's ID (usage: @alootid )."); return -1; } @@ -6122,7 +6122,7 @@ ACMD_FUNC(autolootitem) sd->state.autolootid = item_data->nameid; // Autoloot Activated - sprintf(atcmd_output, "Autolooting Item: '%s'/'%s' {%d}", + sprintf(atcmd_output, "Autolooting item: '%s'/'%s' (%d)", item_data->name, item_data->jname, item_data->nameid); clif_displaymessage(fd, atcmd_output); -- cgit v1.2.3-70-g09d2