From 155b2e2280888959eb2b9192177edb66602fc6a6 Mon Sep 17 00:00:00 2001 From: rascul Date: Mon, 7 Mar 2022 10:16:32 -0600 Subject: [PATCH] add look to dirs so things don't get messed up when l is in the middle of some dir spams --- map.tin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/map.tin b/map.tin index 143abb6..e2957c4 100644 --- a/map.tin +++ b/map.tin @@ -53,7 +53,7 @@ #alias dirget #list dirs get 1 dir #alias dirpop {#list dirs size dirsize;#if {$dirsize == 0} {#nop} {#list dirs delete 1}} -#alias dirmove {dirget;#if {"$dir" !== "0"} {dirpop;#map move $dir;showmap}} +#alias dirmove {dirget;#if {"$dir" !== "0"} {dirpop;#if {"$dir" !== "l"} {#map move $dir;showmap}}} #alias exits #var exits %1 @@ -66,6 +66,7 @@ #alias w {#send west;dirpush w} #alias u {#send up;dirpush u} #alias d {#send down;dirpush d} +#alias l {#send look;dirpush l} #alias dirstack {#var dirs} #alias dirclear {#list dirs create}