From 83984e66a244c755ad1c7feccdf9f1ee153c2186 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 26 May 2021 22:44:51 -0300 Subject: Steal MirrorLakeSendTo() function from TMW, with a change to work here --- npc/functions/vault.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/npc/functions/vault.txt b/npc/functions/vault.txt index dfa0093d0..050eb4d6f 100644 --- a/npc/functions/vault.txt +++ b/npc/functions/vault.txt @@ -25,4 +25,17 @@ function script getvaultexp { 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 + atcommand("@kick "+strcharinfo(0)); + end; +} -- cgit v1.2.3-60-g2f50