Shattered Kingdoms

Where Roleplay and Tactics Collide
VOTE NOW!
It is currently Sun Jan 17, 2021 10:02 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: (zMud) Direction autocomplete aliases - By Rennus
PostPosted: Thu Dec 02, 2010 1:35 pm 
Offline
Mortal

Joined: Thu Feb 28, 2002 4:00 pm
Posts: 677
Location: The great white north
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group