diff options
author | Emistry Haoyan <equinox1991@gmail.com> | 2019-04-13 16:28:16 +0800 |
---|---|---|
committer | Emistry Haoyan <equinox1991@gmail.com> | 2019-04-29 00:44:32 +0800 |
commit | 9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a (patch) | |
tree | 64900c78ff3328e0359a84e7ebe682cad6ffcc0f /npc/custom/etc/quest_warper.txt | |
parent | ab81d4012eac5c2c00c485971fc9b89bf69761be (diff) | |
download | hercules-9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a.tar.gz hercules-9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a.tar.bz2 hercules-9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a.tar.xz hercules-9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a.zip |
Added *consolemes script command
- deprecated `*debugmes` script command.
- added `*consolemes` script command which display the console message based on `type`.
- allow map-server console to auto logging into text file depend on type of message.
Diffstat (limited to 'npc/custom/etc/quest_warper.txt')
-rw-r--r-- | npc/custom/etc/quest_warper.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/custom/etc/quest_warper.txt b/npc/custom/etc/quest_warper.txt index 35b863e9d..2ae2e7f7f 100644 --- a/npc/custom/etc/quest_warper.txt +++ b/npc/custom/etc/quest_warper.txt @@ -82,7 +82,7 @@ function script Q_Warpra { case 2: warp $QW_SP_WarpMap$, $QW_SP_WarpX, $QW_SP_WarpY; close2; - debugmes "Please check your special warp menu settings on the Warpra."; + consolemes(CONSOLEMES_WARNING, "Please check your special warp menu settings on the Warpra."); end; case 3: goto L_town; case 4: goto L_dungeon; @@ -1533,7 +1533,7 @@ function script QWS_Dungeon_Warpra { mes "[Warpra]"; mes "Sorry, I can only unlock this location."; } else - debugmes "QWS_Dungeon_Warpra error, improper syntax?"; + consolemes(CONSOLEMES_ERROR, "QWS_Dungeon_Warpra error, improper syntax?"); return; function QWS_D_setbin { @@ -1577,7 +1577,7 @@ function script QWS_Town_Warpra { } else if (QWS_T_getbin(getarg(0)) == 1) { callfunc "Q_Warpra",0; } else - debugmes "QWS_Town_Warpra error, improper syntax ?"; + consolemes(CONSOLEMES_ERROR, "QWS_Town_Warpra error, improper syntax ?"); return; function QWS_T_setbin { |