|
hoku Newbie
Joined: 21 Dec 2001 Posts: 7 Location: USA
|
Posted: 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.
|
|
|
|
PrestoPimp Apprentice
Joined: 18 Sep 2001 Posts: 175 Location: USA
|
Posted: 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. |
|
|
|
hoku Newbie
Joined: 21 Dec 2001 Posts: 7 Location: USA
|
Posted: 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.
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: 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 |
|
|
|
|
|