Shattered Kingdoms
https://shatteredkingdoms.org/forums/

(zMud) Direction autocomplete aliases - By Rennus
https://shatteredkingdoms.org/forums/viewtopic.php?f=42&t=20821
Page 1 of 1

Author:  Rennus_Dragonsbane [ Thu Dec 02, 2010 1:35 pm ]
Post subject:  (zMud) Direction autocomplete aliases - By Rennus

Seems zMud doesn't support second word alias, like it seems to with mushclient. However I have put together a
command that should work the same
Code:
#oninput {^(%w) (%w)$} {#if %1="l" {look %item( "north|northeast|east|southeast|south|southwest|west|northwest|up|down|%2", %ismember( %2, "n|ne|e|se|s|sw|w|nw|u|d|%2"))} {%1 %2}}

I will have to modify this, however, to work with the enhanced look command I I have posted earlier.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/