summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/002-3/nard.txt7
-rw-r--r--npc/functions/clientversion.txt9
2 files changed, 14 insertions, 2 deletions
diff --git a/npc/002-3/nard.txt b/npc/002-3/nard.txt
index e3a490e99..9faca7429 100644
--- a/npc/002-3/nard.txt
+++ b/npc/002-3/nard.txt
@@ -80,8 +80,11 @@ L_Checker:
if ($EVENT$ == "Event")
getitem MercCard_EH, 1;
// Welcome handling
- $@WELCOME_TIMER=gettimetick(2)+600; // 10 minutes
- kamibroadcast("Hey, look, I've rescued \""+strcharinfo(0)+"\" from the sea! Who will @welcome them?!", "Nard");
+ if (!#REG_DATE) {
+ $@WELCOME_TIMER=gettimetick(2)+600; // 10 minutes
+ kamibroadcast("Hey, look, I've rescued \""+strcharinfo(0)+"\" from the sea! Who will @welcome them?!", "Nard");
+ #REG_DATE=gettimetick(2);
+ }
next;
.@price=800;
mesc b(l(".:: Main Quest 1-3 ::.")), 3;
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 701d6cd68..f62f47ae2 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -739,6 +739,15 @@ function script clientupdater {
if (getq(HalinarzoQuest_LifeDelight) >= 4)
getitem SunnyCrystal, 1;
}
+ // Registration Date
+ // sáb jan 25 18:30:00 BRT 2020
+ if (UPDATE < 1579987800) {
+ UPDATE=1579987800;
+ #REG_DATE=gettimetick(2); // 1520046000 : sáb mar 3 00:00:00 BRT 2018
+ // A thank-you for being with us for almost 2 years
+ getitem StrangeCoin, 1;
+ dispbottom l("Thank you for being with us for so long. You gained a %s as a random good-hearted action from the team!", getitemlink(StrangeCoin));
+ }
if (.@dg) {