summaryrefslogtreecommitdiff
path: root/npc/functions/event.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-14 13:16:55 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-14 13:16:55 -0300
commitdf808977bbca00ffecde1d558627c43d922fa022 (patch)
tree62e3ab2b916fb500b7fc55454c2d67dcf792f684 /npc/functions/event.txt
parente075ef4abf15bacc0017f1a0cc68b862ae11f26c (diff)
downloadserverdata-df808977bbca00ffecde1d558627c43d922fa022.tar.gz
serverdata-df808977bbca00ffecde1d558627c43d922fa022.tar.bz2
serverdata-df808977bbca00ffecde1d558627c43d922fa022.tar.xz
serverdata-df808977bbca00ffecde1d558627c43d922fa022.zip
Fix silly bug in Event Core I wouldn't have noticed...
Diffstat (limited to 'npc/functions/event.txt')
-rw-r--r--npc/functions/event.txt40
1 files changed, 20 insertions, 20 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index 84c75b4c3..1b17b40b6 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -109,17 +109,17 @@ OnClock0000:
// It's tomorrow: Send out an announcement
if (.@d == .valentine_stday - 1) {
channelmes("#world", "Valentine Day will start tomorrow!");
- announce l("Valentine Day will start tomorrow!"), bc_all|bc_npc;
+ announce ("Valentine Day will start tomorrow!"), bc_all|bc_npc;
}
// Last Day: Send out an announcement
if (.@d == .valentine_endday - 1) {
channelmes("#world", "It's the last day for Valentine Event! Hurry up!");
- announce l("t's the last day for Valentine Event! Hurry up!"), bc_all|bc_npc;
+ announce ("t's the last day for Valentine Event! Hurry up!"), bc_all|bc_npc;
}
// Begin the event
if (.@d == .valentine_stday) {
channelmes("#world", "Valentine Day begun!");
- announce l("Valentine Day begun!"), bc_all|bc_npc;
+ announce ("Valentine Day begun!"), bc_all|bc_npc;
$EVENT$="Valentine";
$@VALENTINE_LOVELETTER = htnew();
$@VALENTINE_GIFTSTACKS = htnew();
@@ -127,7 +127,7 @@ OnClock0000:
// End the event the day after
if (.@d == .valentine_endday+1) {
channelmes("#world", "Valentine Day ended!");
- announce l("Valentine Day ended!"), bc_all|bc_npc;
+ announce ("Valentine Day ended!"), bc_all|bc_npc;
sClear();
$EVENT$="";
}
@@ -142,17 +142,17 @@ OnClock0000:
// It's tomorrow: Send out an announcement
if (.@d == .patrick_stday - 1) {
channelmes("#world", "St. Patrick Day will start tomorrow!");
- announce l("St. Patrick Day will start tomorrow!"), bc_all|bc_npc;
+ announce ("St. Patrick Day will start tomorrow!"), bc_all|bc_npc;
}
// Last Day: Send out an announcement
if (.@d == .patrick_endday - 1) {
channelmes("#world", "It's the last day for St. Patrick Event! Hurry up!");
- announce l("t's the last day for St. Patrick Event! Hurry up!"), bc_all|bc_npc;
+ announce ("t's the last day for St. Patrick Event! Hurry up!"), bc_all|bc_npc;
}
// Begin the event
if (.@d == .patrick_stday) {
channelmes("#world", "St. Patrick Day begun!");
- announce l("St. Patrick Day begun!"), bc_all|bc_npc;
+ announce ("St. Patrick Day begun!"), bc_all|bc_npc;
$EVENT$="St. Patrick";
$@PATRICK_DAYMAX=.patrick_endday;
enablenpc "sPatrick";
@@ -160,7 +160,7 @@ OnClock0000:
// End the event the day after
if (.@d == .patrick_endday+1) {
channelmes("#world", "St. Patrick Day ended!");
- announce l("St. Patrick Day ended!"), bc_all|bc_npc;
+ announce ("St. Patrick Day ended!"), bc_all|bc_npc;
sClear();
$EVENT$="";
donpcevent "sPatrick::OnCleanUp";
@@ -172,23 +172,23 @@ OnClock0000:
// It's tomorrow: Send out an announcement
if (.@d == .easter_stday - 1) {
channelmes("#world", "Easter will start tomorrow!");
- announce l("Easter will start tomorrow!"), bc_all|bc_npc;
+ announce ("Easter will start tomorrow!"), bc_all|bc_npc;
}
// Last Day: Send out an announcement
if (.@d == .easter_endday - 1) {
channelmes("#world", "It's the last day for Easter Event! Hurry up!");
- announce l("t's the last day for Easter Event! Hurry up!"), bc_all|bc_npc;
+ announce ("t's the last day for Easter Event! Hurry up!"), bc_all|bc_npc;
}
// Begin the event
if (.@d == .easter_stday) {
channelmes("#world", "Easter begun!");
- announce l("Easter begun!"), bc_all|bc_npc;
+ announce ("Easter begun!"), bc_all|bc_npc;
$EVENT$="Easter";
}
// End the event the day after
if (.@d == .easter_endday+1) {
channelmes("#world", "Easter ended!");
- announce l("Easter ended!"), bc_all|bc_npc;
+ announce ("Easter ended!"), bc_all|bc_npc;
sClear();
$EVENT$="";
}
@@ -199,23 +199,23 @@ OnClock0000:
// It's tomorrow: Send out an announcement
if (.@d == .worker_stday - 1) {
channelmes("#world", "Worker Day will start tomorrow!");
- announce l("Worker Day will start tomorrow!"), bc_all|bc_npc;
+ announce ("Worker Day will start tomorrow!"), bc_all|bc_npc;
}
// Last Day: Send out an announcement
if (.@d == .worker_endday - 1) {
channelmes("#world", "It's the last day for Worker Day Event! Hurry up!");
- announce l("t's the last day for Worker Day Event! Hurry up!"), bc_all|bc_npc;
+ announce ("t's the last day for Worker Day Event! Hurry up!"), bc_all|bc_npc;
}
// Begin the event
if (.@d == .worker_stday) {
channelmes("#world", "Worker Day begun!");
- announce l("Worker Day begun!"), bc_all|bc_npc;
+ announce ("Worker Day begun!"), bc_all|bc_npc;
$EVENT$="Worker Day";
}
// End the event the day after
if (.@d == .worker_endday+1) {
channelmes("#world", "Worker Day ended!");
- announce l("Worker Day ended!"), bc_all|bc_npc;
+ announce ("Worker Day ended!"), bc_all|bc_npc;
sClear();
$EVENT$="";
}
@@ -227,17 +227,17 @@ OnClock0000:
// It's tomorrow: Send out an announcement
if (.@d == .xmas_stday - 1) {
channelmes("#world", "Christmas will start tomorrow!");
- announce l("Christmas will start tomorrow!"), bc_all|bc_npc;
+ announce ("Christmas will start tomorrow!"), bc_all|bc_npc;
}
// Last Day: Send out an announcement
if (.@d == .xmas_endday - 1) {
channelmes("#world", "It's the last day for Christmas Event! Hurry up!");
- announce l("t's the last day for Christmas Event! Hurry up!"), bc_all|bc_npc;
+ announce ("t's the last day for Christmas Event! Hurry up!"), bc_all|bc_npc;
}
// Begin the event
if (.@d == .xmas_stday) {
channelmes("#world", "Christmas begun!");
- announce l("Christmas begun!"), bc_all|bc_npc;
+ announce ("Christmas begun!"), bc_all|bc_npc;
$EVENT$="Christmas";
query_sql("DELETE FROM `quest` WHERE `quest_id` = '"+SQuest_Christmas+"'");
sChristmas();
@@ -245,7 +245,7 @@ OnClock0000:
// End the event the day after
if (.@d == .xmas_endday+1) {
channelmes("#world", "Christmas ended!");
- announce l("Christmas ended!"), bc_all|bc_npc;
+ announce ("Christmas ended!"), bc_all|bc_npc;
sClear();
$EVENT$="";
}