diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-26 22:42:56 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-26 22:42:56 -0300 |
commit | a20c0f9d45ea91ed924f1e797fd051e03a376740 (patch) | |
tree | 599e4218e20e384f3ae9337d7bb8c656c1d4012e /npc/functions/vault.txt | |
parent | 5730649cb1df93a3cae88313e96f443979430210 (diff) | |
download | serverdata-a20c0f9d45ea91ed924f1e797fd051e03a376740.tar.gz serverdata-a20c0f9d45ea91ed924f1e797fd051e03a376740.tar.bz2 serverdata-a20c0f9d45ea91ed924f1e797fd051e03a376740.tar.xz serverdata-a20c0f9d45ea91ed924f1e797fd051e03a376740.zip |
Fix a few typos, and introduce MirrorLakeSendTo()
Diffstat (limited to 'npc/functions/vault.txt')
-rw-r--r-- | npc/functions/vault.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/npc/functions/vault.txt b/npc/functions/vault.txt index 4ef97470..15a969fb 100644 --- a/npc/functions/vault.txt +++ b/npc/functions/vault.txt @@ -70,6 +70,8 @@ function script vaultOnLogin { // Heading somewhere which is not here! mesc l("WARNING: If you use any Mirror Lake feature on this world, the current Mirror Lake Quest will be marked as \"Failed\"."), 1; mesc l("If this is undesired, select the correct world, and if needed create a new char on it."), 1; + ##VAULT_GOTO=.@gto; + ##VAULT_MLTO=.@mlp; next; closeclientdialog; } @@ -95,3 +97,16 @@ function script vaultOnLogout { return; } +// MirrorLakeSendTo(World, Lake) +function script MirrorLakeSendTo { + .@w=getarg(0); + .@t=getarg(1); + ##VAULT_GOTO=.@w; + ##VAULT_MLTO=.@t; + closeclientdialog; + dispbottom l("Darkness fills your vision..."); + sleep2(1000); + kick(getcharid(3), 7); // 7 is not a valid kick reason + end; +} + |