diff options
author | Asheraf <acheraf1998@gmail.com> | 2016-08-29 17:40:13 +0100 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-09-02 04:56:00 +0200 |
commit | 0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch) | |
tree | 57780b1ecc7c5ae125be1c89406f8db1e00a581b /npc/custom/warper.txt | |
parent | 0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff) | |
download | hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2 hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip |
change *strcharinfo to use constants
Diffstat (limited to 'npc/custom/warper.txt')
-rw-r--r-- | npc/custom/warper.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/custom/warper.txt b/npc/custom/warper.txt index d240a2730..70bab9400 100644 --- a/npc/custom/warper.txt +++ b/npc/custom/warper.txt @@ -35,7 +35,7 @@ menu "Last Warp ^777777["+lastwarp$+"]^000000",-, " ~ Special Areas",Special; if (lastwarp$ == "") - message strcharinfo(0),"You haven't warped anywhere yet."; + message strcharinfo(PC_NAME),"You haven't warped anywhere yet."; else warp lastwarp$,lastwarpx,lastwarpy; end; @@ -92,7 +92,7 @@ function Pick { .@map$ = getarg(0)+((.@i<10)?"0":"")+.@i; } if (.@warp_block & (1<<.@select)) { - message strcharinfo(0),"This map is not enabled in "+(RENEWAL?"":"Pre-")+"Renewal."; + message strcharinfo(PC_NAME),"This map is not enabled in "+(RENEWAL?"":"Pre-")+"Renewal."; end; } .@x = @c[.@i*2]; @@ -107,7 +107,7 @@ function Restrict { for (.@i = 1; .@i < getargcount(); .@i++) @warp_block = @warp_block | (1<<getarg(.@i)); } else { - message strcharinfo(0),"This map is not enabled in "+(RENEWAL?"":"Pre-")+"Renewal."; + message strcharinfo(PC_NAME),"This map is not enabled in "+(RENEWAL?"":"Pre-")+"Renewal."; end; } } |