The topic of "opening" and "picking" directions being replaced by someone's sword came up on another thread, so here is my solution for zmud to that problem.
Code:
#ALIAS open {#if (%1="ne") {~open northeast} {#if (%1="e") {~open east} {#if (%1="se") {~open southeast} {#if (%1="s") {~open south} {#if (%1="sw") {~open southwest} {#if (%1="w") {~open west} {#if (%1="nw") {~open northwest} {#if (%1="n") {~open north} {open %1}}}}}}}}}
#ALIAS pick {#if (%1="ne") {~pick northeast} {#if (%1="e") {~pick east} {#if (%1="se") {~pick southeast} {#if (%1="s") {~pick south} {#if (%1="sw") {~pick southwest} {#if (%1="w") {~pick west} {#if (%1="nw") {~pick northwest} {#if (%1="n") {~pick north} {pick %1}}}}}}}}}
#ALIAS close {#if (%1="ne") {~close northeast} {#if (%1="e") {~close east} {#if (%1="se") {~close southeast} {#if (%1="s") {~close south} {#if (%1="sw") {~close southwest} {#if (%1="w") {~close west} {#if (%1="nw") {~close northwest} {#if (%1="n") {~close north} {close %1}}}}}}}}}
#ALIAS l {#if (%1=%null) {look} {#if (%1="in") {examine %2} {#if (%1="ne") {look northeast} {#if (%1="e") {look east} {#if (%1="se") {look southeast} {#if (%1="s") {look south} {#if (%1="sw") {look southwest} {#if (%1="w") {look west} {#if (%1="nw") {look northwest} {#if (%1="n") {look north} {examine %1}}}}}}}}}}}
Again, it does not look very good, but it works.