diff options
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; +} + |