From df808977bbca00ffecde1d558627c43d922fa022 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 14 Mar 2019 13:16:55 -0300 Subject: Fix silly bug in Event Core I wouldn't have noticed... --- npc/functions/event.txt | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'npc/functions/event.txt') 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$=""; } -- cgit v1.2.3-60-g2f50