diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-11 19:46:25 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-11 19:46:25 -0300 |
commit | c096284e22d3949015127e19f2e462a8199bb51a (patch) | |
tree | 85be9fadc40ef714543441a03b10a6b57b3b75ad /npc/003-3 | |
parent | ccab7e3695fa581f2dc6e3d34513316c241a2d46 (diff) | |
download | serverdata-c096284e22d3949015127e19f2e462a8199bb51a.tar.gz serverdata-c096284e22d3949015127e19f2e462a8199bb51a.tar.bz2 serverdata-c096284e22d3949015127e19f2e462a8199bb51a.tar.xz serverdata-c096284e22d3949015127e19f2e462a8199bb51a.zip |
Introduce #ADD_LVL, a special flag for when we need to give levels upon login.
Introduce $UPDATE to keep Jesusalva aware of some misc server update stuff.
Diffstat (limited to 'npc/003-3')
-rw-r--r-- | npc/003-3/malindou.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index ab8ff4321..06f376c08 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -3,7 +3,8 @@ // Saulc // Jesusalva // Notes: -// Also handle some PCLogin events: CheckClientVersion, and bank +// Tulim banker, and also handles PCLogin events: CheckClientVersion, and bank +// Take care of server updates, but instances are defined on their ships. 003-3,36,34,0 script Malindou NPC_LLOYD,{ Banker(.name$, "Tulimshar", 15000); @@ -12,6 +13,19 @@ OnInit: .sex = G_MALE; .distance = 4; + + // Update handler (use `date +%s` for this) + // Current UPDATE value: Qui Jun 7 08:10:55 -03 2018 + if ($UPDATE < 1528369855) { + $UPDATE=gettimetick(2); + debugmes "Warning."; + debugmes "Warning."; + debugmes "Warning: This introduces a server update:"; + debugmes ""; + debugmes "* Please create the imported guild"; + debugmes ""; + } + end; OnPCLoginEvent: |