summaryrefslogtreecommitdiff
path: root/npc/events/nguild/nguild_kafras.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-09 16:41:40 +0100
committerHaru <haru@dotalux.com>2013-11-09 16:41:40 +0100
commit857bdc4f98be6cd1e185a24565d6b6b54752b9b4 (patch)
tree948d7b4ee8c991a128f5db2aa9df5b8ecf5ab37d /npc/events/nguild/nguild_kafras.txt
parent8ed38f98894fb04b4403b44dc0f36281cfd36326 (diff)
downloadhercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.tar.gz
hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.tar.bz2
hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.tar.xz
hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.zip
Consolidated commands called in scripts to their lowercase version
- Added a note about variables and command scripts case sensitivity. Even though the engine still accepts variable, function and command names in a case insensitive way, it is discouraged to rely on such behavior. Please update your custom scripts as soon as possible. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/events/nguild/nguild_kafras.txt')
-rw-r--r--npc/events/nguild/nguild_kafras.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/events/nguild/nguild_kafras.txt b/npc/events/nguild/nguild_kafras.txt
index 155c33792..100751f7a 100644
--- a/npc/events/nguild/nguild_kafras.txt
+++ b/npc/events/nguild/nguild_kafras.txt
@@ -16,11 +16,11 @@
function script F_GKafra {
cutin "kafra_01",2;
- set @GID, GetCastleData(getarg(0),1);
+ set @GID, getcastledata(getarg(0),1);
if (getcharid(2) == @GID && getgdskilllv(@GID,10001)) goto L_StartG;
mes "[Kafra Service]";
- mes "I am contracted to provide service only for the ^ff0000" + GetGuildName(@GID) + "^000000 Guild. Please use another Kafra Corporation staff member around here. I am Sorry for your inconvenience.";
+ mes "I am contracted to provide service only for the ^ff0000" + getguildname(@GID) + "^000000 Guild. Please use another Kafra Corporation staff member around here. I am Sorry for your inconvenience.";
cutin "",255;
close;
L_StartG:
@@ -36,7 +36,7 @@ nguild_alde,218,170,0 script Kafra Service#N01 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_alde", "Prontera";
end;
OnRecvCastleN01:
- if (GetCastleData("nguild_alde",9) < 1) disablenpc "Kafra Service#N01";
+ if (getcastledata("nguild_alde",9) < 1) disablenpc "Kafra Service#N01";
end;
}
@@ -46,7 +46,7 @@ nguild_gef,35,37,0 script Kafra Service#N02 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_gef", "Prontera";
end;
OnRecvCastleN02:
- if (GetCastleData("nguild_gef",9) < 1) disablenpc "Kafra Service#N02";
+ if (getcastledata("nguild_gef",9) < 1) disablenpc "Kafra Service#N02";
end;
}
@@ -55,7 +55,7 @@ nguild_pay,128,58,3 script Kafra Service#N03 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_pay", "Prontera";
end;
OnRecvCastleN03:
- if (GetCastleData("nguild_pay",9) < 1) disablenpc "Kafra Service#N03";
+ if (getcastledata("nguild_pay",9) < 1) disablenpc "Kafra Service#N03";
end;
}
@@ -64,6 +64,6 @@ nguild_prt,96,173,0 script Kafra Service#N04 4_F_KAFRA1,{
callfunc "F_GKafra", "nguild_prt", "Prontera";
end;
OnRecvCastleN04:
- if (GetCastleData("nguild_prt",9) < 1) disablenpc "Kafra Service#N04";
+ if (getcastledata("nguild_prt",9) < 1) disablenpc "Kafra Service#N04";
end;
}