diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-10-06 16:03:40 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-10-06 16:03:40 -0300 |
commit | 070bf3df848f31eb555f91d00f7e4f4596bc0954 (patch) | |
tree | 2cde836f2802a2f93edec07cc8b242c7fbf0b928 /npc/commands | |
parent | 6917025fb41e73476380a55ad135d254926ae1cf (diff) | |
download | serverdata-070bf3df848f31eb555f91d00f7e4f4596bc0954.tar.gz serverdata-070bf3df848f31eb555f91d00f7e4f4596bc0954.tar.bz2 serverdata-070bf3df848f31eb555f91d00f7e4f4596bc0954.tar.xz serverdata-070bf3df848f31eb555f91d00f7e4f4596bc0954.zip |
Don't bother to give daily login bonus to players on starting areas
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/motd.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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; |