From 857bdc4f98be6cd1e185a24565d6b6b54752b9b4 Mon Sep 17 00:00:00 2001 From: Haru Date: Sat, 9 Nov 2013 16:41:40 +0100 Subject: 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 --- doc/script_commands.txt | 15 +++-- npc/cities/jawaii.txt | 2 +- npc/custom/battleground/bg_common.txt | 2 +- npc/custom/etc/lottery.txt | 28 ++++---- npc/custom/etc/quest_warper.txt | 2 +- npc/custom/quests/may_hats.txt | 10 +-- npc/custom/quests/thq/THQS_QuestNPC.txt | 8 +-- npc/custom/resetnpc.txt | 8 +-- npc/custom/woe_controller.txt | 6 +- npc/events/god_se_festival.txt | 4 +- npc/events/nguild/nguild_dunsw.txt | 2 +- npc/events/nguild/nguild_ev_agit.txt | 60 ++++++++--------- npc/events/nguild/nguild_flags.txt | 26 +++---- npc/events/nguild/nguild_guardians.txt | 72 ++++++++++---------- npc/events/nguild/nguild_kafras.txt | 12 ++-- npc/events/nguild/nguild_managers.txt | 8 +-- npc/events/nguild/nguild_treas.txt | 4 +- npc/guild/agit_controller.txt | 10 +-- npc/guild/agit_main.txt | 116 ++++++++++++++++---------------- npc/guild/aldeg_cas01.txt | 14 ++-- npc/guild/aldeg_cas02.txt | 14 ++-- npc/guild/aldeg_cas03.txt | 14 ++-- npc/guild/aldeg_cas04.txt | 14 ++-- npc/guild/aldeg_cas05.txt | 14 ++-- npc/guild/gefg_cas01.txt | 14 ++-- npc/guild/gefg_cas02.txt | 14 ++-- npc/guild/gefg_cas03.txt | 14 ++-- npc/guild/gefg_cas04.txt | 14 ++-- npc/guild/gefg_cas05.txt | 14 ++-- npc/guild/payg_cas01.txt | 14 ++-- npc/guild/payg_cas02.txt | 14 ++-- npc/guild/payg_cas03.txt | 14 ++-- npc/guild/payg_cas04.txt | 14 ++-- npc/guild/payg_cas05.txt | 14 ++-- npc/guild/prtg_cas01.txt | 14 ++-- npc/guild/prtg_cas02.txt | 14 ++-- npc/guild/prtg_cas03.txt | 14 ++-- npc/guild/prtg_cas04.txt | 14 ++-- npc/guild/prtg_cas05.txt | 14 ++-- npc/guild2/agit_main_se.txt | 2 +- npc/guild2/agit_start_se.txt | 4 +- npc/guild2/arug_cas01.txt | 6 +- npc/guild2/arug_cas02.txt | 8 +-- npc/guild2/arug_cas03.txt | 6 +- npc/guild2/arug_cas04.txt | 8 +-- npc/guild2/arug_cas05.txt | 8 +-- npc/guild2/guild_flags.txt | 20 +++--- npc/guild2/schg_cas01.txt | 6 +- npc/guild2/schg_cas02.txt | 4 +- npc/guild2/schg_cas03.txt | 6 +- npc/guild2/schg_cas04.txt | 6 +- npc/guild2/schg_cas05.txt | 6 +- npc/jobs/2-2/crusader.txt | 4 +- npc/kafras/functions_kafras.txt | 4 +- npc/other/auction.txt | 2 +- npc/pre-re/other/resetskill.txt | 2 +- npc/quests/cooking_quest.txt | 2 +- npc/quests/guildrelay.txt | 14 ++-- npc/quests/okolnir.txt | 14 ++-- npc/quests/quests_prontera.txt | 4 +- npc/quests/quests_rachel.txt | 2 +- npc/quests/seals/mjolnir_seal.txt | 4 +- npc/re/quests/quests_dicastes.txt | 4 +- src/map/script.c | 26 +++---- src/map/script.h | 4 +- 65 files changed, 429 insertions(+), 422 deletions(-) diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 96fc1b769..0912cb556 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -414,7 +414,10 @@ Variables The meat of every programming language is variables - places where you store data. -In Hercules scripting language, variable names are not case sensitive. +In Hercules scripting language, variable names are case sensitive. Even though +at the current time the script engine accepts them even with the incorrect +case, it is not advised to rely on this behavior, as it may change at any +time. Variables are divided into and uniquely identified by the combination of: prefix - determines the scope and extent (or lifetime) of the variable @@ -1006,6 +1009,10 @@ multiple commands on one line if you properly terminate them with a ';', but it's better if you don't, since it is not certain just whether the scripting engine will behave nicely if you do. +Please note that command and function names are case sensitive. Even though at +the current time the script engine accepts them with the incorrect case, it is +not advised to rely on this behavior, as it may change at any time. + ------------------------- @@ -4902,7 +4909,7 @@ like storage or cart. --------------------------------------- *equip ; -*autoEquip ,