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/stylist.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/stylist.txt')
-rw-r--r-- | npc/custom/stylist.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/stylist.txt b/npc/custom/stylist.txt index 37661ccb9..0ee7d8822 100644 --- a/npc/custom/stylist.txt +++ b/npc/custom/stylist.txt @@ -19,12 +19,12 @@ prontera,170,180,1 script Stylist#custom_stylist 2_M_DYEINGER,{ set .@style,1; while(1) { setlook .@Look[.@s], .@style; - message strcharinfo(0),"This is style #"+.@style+"."; + message strcharinfo(PC_NAME),"This is style #"+.@style+"."; set .@menu$, " ~ Next (^0055FF"+((.@style!=.@styles[.@s])?.@style+1:1)+"^000000): ~ Previous (^0055FF"+((.@style!=1)?.@style-1:.@styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)"; switch(select(.@menu$)) { case 1: set .@style, ((.@style!=.@styles[.@s])?.@style+1:1); break; case 2: set .@style, ((.@style!=1)?.@style-1:.@styles[.@s]); break; - case 3: message strcharinfo(0),"Choose a style between 1 - "+.@styles[.@s]+"."; + case 3: message strcharinfo(PC_NAME),"Choose a style between 1 - "+.@styles[.@s]+"."; input .@style,0,.@styles[.@s]; if (!.@style) set .@style, rand(1,.@styles[.@s]); break; |