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
hoku
Newbie


Joined: 21 Dec 2001
Posts: 7
Location: USA

PostPosted: Mon Jan 07, 2002 5:06 pm   

LMAP command.
 
I was told that if I was building a bot, that if I wanted to make the bot walk throughout the mud, I would have to use the LMAP command. I don't understand how though. Can someone please help me with this or be a little more specific? Your help would be GREATLY appreciated.
Reply with quote
PrestoPimp
Apprentice


Joined: 18 Sep 2001
Posts: 175
Location: USA

PostPosted: Mon Jan 07, 2002 7:21 pm   
 
What ya need to go ahead and do is click on help in zmud.. then go to search. type in LMAP and read the contents under LMAP.. any more questions feel free to post.

For tomarrow is another day, and other days come but 6 times a week.
Reply with quote
hoku
Newbie


Joined: 21 Dec 2001
Posts: 7
Location: USA

PostPosted: Mon Jan 07, 2002 9:37 pm   
 
I checked the help files and still don't understand (I'm dumb). I could use some good examples on LMAP's use.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Jan 07, 2002 11:59 pm   
 
I don't think that #LMAP is what you need since you have to supply #LMAP with a path instead of the command just looping through all the rooms in the map.

I would suggest, instead, a combination of %numrooms and %walk. Example:
#LOOP 0,%eval(%numrooms() - 1) {#EXEC %walk(%i);#SH This is room %i on the map!}

Should go to every room in that particular zone (if all the rooms are in one zone, then these are all the rooms in the map) and display "This is room number on the map!"

Kjata
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