diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-02-14 10:45:11 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-02-14 10:45:11 -0300 |
commit | 5e483e78f5eec7434e39517de3d853fea330a17b (patch) | |
tree | 01248aaa4c7f93ce52e764cbbd562402c265959a /npc/commands | |
parent | c4aac6f64b4d1a31f48cc4b266921c6d777e612d (diff) | |
download | serverdata-5e483e78f5eec7434e39517de3d853fea330a17b.tar.gz serverdata-5e483e78f5eec7434e39517de3d853fea330a17b.tar.bz2 serverdata-5e483e78f5eec7434e39517de3d853fea330a17b.tar.xz serverdata-5e483e78f5eec7434e39517de3d853fea330a17b.zip |
To set a pincode, either have 15 days or complete Lua's arc
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/ucp.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt index 19033089e..d64449c5e 100644 --- a/npc/commands/ucp.txt +++ b/npc/commands/ucp.txt @@ -33,8 +33,8 @@ function script UserCtrlPanel { case 1: GameRules(); break; case 2: GameNews(); break; case 3: - // Account age check - if (gettimetick(2) < #REG_DATE+86400*15) { + // Account age check (15 days or complete Lua's arc) + if (gettimetick(2) < #REG_DATE+86400*15 && getq(General_Narrator) < 3) { mesc l("Your account is too young."), 1; mesc l("The accounts need 15 days to set Pin Codes."), 1; next; |