summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-12-19 04:50:29 -0300
committerJesusaves <cpntb1@ymail.com>2019-12-19 04:50:29 -0300
commitd3b0bd08942d3d865794aa449335d05cd0257261 (patch)
tree545534204aeb018d5353b3a4b5df458f08ebde5e /npc
parente0960797373fbcbb02e53a87c3d7462cd9a18fe1 (diff)
downloadserverdata-d3b0bd08942d3d865794aa449335d05cd0257261.tar.gz
serverdata-d3b0bd08942d3d865794aa449335d05cd0257261.tar.bz2
serverdata-d3b0bd08942d3d865794aa449335d05cd0257261.tar.xz
serverdata-d3b0bd08942d3d865794aa449335d05cd0257261.zip
Well, syntax
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/event.txt30
1 files changed, 15 insertions, 15 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 58f3ec57f..b694733c2 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -300,11 +300,11 @@ OnClock0000:
kamibroadcast("St. Patrick Day will start tomorrow!");
}
// Last Day: Send out an announcement
- if (.@d == .patrick_endday) {
+ else if (.@d == .patrick_endday) {
kamibroadcast("It's the last day for St. Patrick Event! Hurry up!");
}
// Begin the event
- if (.@d == .patrick_stday) {
+ else if (.@d == .patrick_stday) {
kamibroadcast("St. Patrick Day begun!");
$EVENT$="St. Patrick";
$@PATRICK_DAYMAX=.patrick_endday;
@@ -314,7 +314,7 @@ OnClock0000:
donpcevent "St. Patrick Gold Pot::OnForcedMove";
}
// End the event the day after
- if (.@d == .patrick_endday+1) {
+ else if (.@d == .patrick_endday+1) {
kamibroadcast("St. Patrick Day ended!");
sClear();
$EVENT$="";
@@ -331,16 +331,16 @@ OnClock0000:
kamibroadcast("Easter will start tomorrow!");
}
// Last Day: Send out an announcement
- if (.@d == .easter_endday && .@m == .easter_endmon) {
+ else if (.@d == .easter_endday && .@m == .easter_endmon) {
kamibroadcast("It's the last day for Easter Event! Hurry up!");
}
// Begin the event
- if (.@d == .easter_stday && .@m == .easter_stmon) {
+ else if (.@d == .easter_stday && .@m == .easter_stmon) {
kamibroadcast("Easter begun!");
$EVENT$="Easter";
}
// End the event the day after
- if (.@d == .easter_endday+1 && .@m == .easter_endmon) {
+ else if (.@d == .easter_endday+1 && .@m == .easter_endmon) {
kamibroadcast("Easter ended!");
sClear();
$EVENT$="";
@@ -355,16 +355,16 @@ OnClock0000:
kamibroadcast("Worker Day will start tomorrow!");
}
// Last Day: Send out an announcement
- if (.@d == .worker_endday && .@m == .worker_endmon) {
+ else if (.@d == .worker_endday && .@m == .worker_endmon) {
kamibroadcast("It's the last day for Worker Day Event! Hurry up!");
}
// Begin the event
- if (.@d == .worker_stday && .@m == .worker_stmon) {
+ else if (.@d == .worker_stday && .@m == .worker_stmon) {
kamibroadcast("Worker Day begun!");
$EVENT$="Worker Day";
}
// End the event the day after
- if (.@d == .worker_endday+1 && .@m == .worker_endmon) {
+ else if (.@d == .worker_endday+1 && .@m == .worker_endmon) {
kamibroadcast("Worker Day ended!");
sClear();
$EVENT$="";
@@ -379,16 +379,16 @@ OnClock0000:
kamibroadcast("Thanksgiving will start tomorrow!");
}
// Last Day: Send out an announcement
- if (.@d == .thanks_endday && .@m == .thanks_endmon) {
+ else if (.@d == .thanks_endday && .@m == .thanks_endmon) {
kamibroadcast("It's the last day for Thanksgiving Event! Hurry up!");
}
// Begin the event
- if (.@d == .thanks_stday && .@m == .thanks_stmon) {
+ else if (.@d == .thanks_stday && .@m == .thanks_stmon) {
kamibroadcast("Thanksgiving begun!");
$EVENT$="Thanksgiving";
}
// End the event the day after
- if (.@d == .thanks_endday+1 && .@m == .thanks_endmon) {
+ else if (.@d == .thanks_endday+1 && .@m == .thanks_endmon) {
kamibroadcast("Thanksgiving ended!");
sClear();
$EVENT$="";
@@ -403,18 +403,18 @@ OnClock0000:
kamibroadcast("Christmas will start tomorrow!");
}
// Last Day: Send out an announcement
- if (.@d == .xmas_endday && .@m == .xmas_endmon) {
+ else if (.@d == .xmas_endday && .@m == .xmas_endmon) {
kamibroadcast("It's the last day for Christmas Event! Hurry up!");
}
// Begin the event
- if (.@d == .xmas_stday && .@m == .xmas_stmon) {
+ else if (.@d == .xmas_stday && .@m == .xmas_stmon) {
kamibroadcast("Christmas begun!");
$EVENT$="Christmas";
query_sql("DELETE FROM `quest` WHERE `quest_id` = '"+SQuest_Christmas+"'");
sChristmas();
}
// End the event the day after
- if (.@d == .xmas_endday+1 && .@m == .xmas_endmon) {
+ else if (.@d == .xmas_endday+1 && .@m == .xmas_endmon) {
kamibroadcast("Christmas ended!");
sClear();
$EVENT$="";