summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-26 22:44:51 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-26 22:44:51 -0300
commit83984e66a244c755ad1c7feccdf9f1ee153c2186 (patch)
tree9657a7c2b1d34558c8f071c32f939821fc982dae
parentc6373b1077e24555292c3f503a25564c313e0fb2 (diff)
downloadserverdata-83984e66a244c755ad1c7feccdf9f1ee153c2186.tar.gz
serverdata-83984e66a244c755ad1c7feccdf9f1ee153c2186.tar.bz2
serverdata-83984e66a244c755ad1c7feccdf9f1ee153c2186.tar.xz
serverdata-83984e66a244c755ad1c7feccdf9f1ee153c2186.zip
Steal MirrorLakeSendTo() function from TMW, with a change to work here
-rw-r--r--npc/functions/vault.txt13
1 files changed, 13 insertions, 0 deletions
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;
+}