Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Lichban
Newbie


Joined: 31 Mar 2004
Posts: 3
Location: South Africa

PostPosted: Wed Mar 31, 2004 10:15 pm   

Move command and map
 
I use macros defined like
key7
#if @AutoSneak=1 {
sneak northwest
#move northwest
} {northwest}

Now that works fine in the mud but on the map if i'm at a start of example 5 string rooms running to the northwest my map positions jumps to the last room when i'm sneaking ... if i remove the #move northwest line it doesnt move at all .. help will be apreciated
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Apr 01, 2004 12:09 am   
 
Start by changing all your macros back to the simple form they were originally. Next add sneak direction to the list of commands in your Direction settings (by default they are in System|Directions and SystemDirectionDiag classes).

Finally use this trigger:
#ONINPUT {^(%t)$} {#IF (@AutoSneak=1) {#SUB {sneak %1}}} "" {notrig}

This should also take care of your question in another post.
Reply with quote
Lichban
Newbie


Joined: 31 Mar 2004
Posts: 3
Location: South Africa

PostPosted: Fri Apr 02, 2004 4:55 pm   
 
Thnx for the help
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net