From 070bf3df848f31eb555f91d00f7e4f4596bc0954 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 6 Oct 2018 16:03:40 -0300 Subject: Don't bother to give daily login bonus to players on starting areas --- npc/commands/motd.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/npc/commands/motd.txt b/npc/commands/motd.txt index e6cafa342..ddc2dcdfb 100644 --- a/npc/commands/motd.txt +++ b/npc/commands/motd.txt @@ -187,6 +187,11 @@ OnPCLoginEvent: // Number of times you claimed the top prize (27 days streak) if (#LOGIN_DAY != .login_ref) { + // demure check: Are you on a start area? + getmapxy(.@m$,.@x,.@y,0); + if (.@m$ ~= "000") + end; + // Is it a new month? if (#LOGIN_TABLE == gettime(6)) { #LOGIN_STREAK=#LOGIN_STREAK+1; -- cgit v1.2.3-70-g09d2