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
john_taylor_jr
Wanderer


Joined: 17 Jan 2003
Posts: 57
Location: USA

PostPosted: Mon Feb 03, 2003 4:14 am   

Auto Mapper
 
I have aliases set up for my sneak they look like this:
#ALIAS n {#IF (@sneak=1) {sneak ~n} {~n}}
The mapper follows perfectly in normal mode but does not follow at all in sneak mode is there a command I can use to make the mapper recognize sneaking directions.
Also after I sneak it displays
Ok, You sneak west.
or whatever direction I'm sneaking.
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Mon Feb 03, 2003 5:58 am   
 
#ALIAS n {#IF (@sneak=1) {sneak ~n;#MAP n} {~n}}

sneak n - hides the n from the queue so we inject it like the help
example:

quote:

MAP

Syntax: #MAP direction
Related: #PATH

Add the specified direction to the current path being recorded. Also sends the location to the mapper to move you on the map.

MAP examples

#MAP north

if the current path is .s then the path is updated to be .sn. If the current path is .2n then the path is updated to be .3n. Then you are moved one square north on the map.

#TRIGGER {%w leaves (%w)} {#MAP %1}

Follows the leader of your group and updates the map location




Ton Diening
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