summaryrefslogtreecommitdiff
path: root/npc/events/nguild
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2016-08-29 17:40:13 +0100
committerhemagx <ibrahem.h.basyone@gmail.com>2016-09-02 04:56:00 +0200
commit0f1d0507eb95cf07ce7eb66d89ad9853938612e6 (patch)
tree57780b1ecc7c5ae125be1c89406f8db1e00a581b /npc/events/nguild
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.gz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.bz2
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.tar.xz
hercules-0f1d0507eb95cf07ce7eb66d89ad9853938612e6.zip
change *strcharinfo to use constants
Diffstat (limited to 'npc/events/nguild')
-rw-r--r--npc/events/nguild/nguild_managers.txt2
-rw-r--r--npc/events/nguild/nguild_warper.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/events/nguild/nguild_managers.txt b/npc/events/nguild/nguild_managers.txt
index 21b1e4b86..6ff1e7e2a 100644
--- a/npc/events/nguild/nguild_managers.txt
+++ b/npc/events/nguild/nguild_managers.txt
@@ -52,7 +52,7 @@ function script F_GldManager {
mes "Where are the guardians? Destroy these intruders!";
return;
}
- if (strcharinfo(0) != getguildmaster(@GID)){
+ if (strcharinfo(PC_NAME) != getguildmaster(@GID)){
mes "You're not ^5533FF" + getguildmaster(@GID) + "^000000! I am here to follow ^5533FF" + getguildmaster(@GID) + "^000000's command only";
return 0;
}
diff --git a/npc/events/nguild/nguild_warper.txt b/npc/events/nguild/nguild_warper.txt
index 94f65e546..07ee4b0ed 100644
--- a/npc/events/nguild/nguild_warper.txt
+++ b/npc/events/nguild/nguild_warper.txt
@@ -96,7 +96,7 @@ prontera,146,163,6 script Novice Castles 4_F_NOVICE,{
n_castle,102,107,5 script Cita 4_F_NOVICE,{
mes "[Cita]";
- mes "Hello, "+ strcharinfo(0) +". Can I help you?";
+ mes "Hello, "+ strcharinfo(PC_NAME) +". Can I help you?";
next;
if (select("Warp me to Prontera!","Cancel") == 1) {
warp "prontera",155,177+rand(5);