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
meyn
Beginner


Joined: 06 Mar 2008
Posts: 27

PostPosted: Wed Apr 02, 2008 5:31 pm   

Please help with #LMAP command
 
i'm having trouble working out the #LMAP command

#LMAP @ithinkigotit {%roomname( %i)}

#VAR ithinkigotit is a speedwalk path that can be set to various places, the above command will happily list all rooms on route, but what i'm having trouble with is saving that list to a string. I've tried the below but to no avail

#LMAP @ithinkigotit {%roomname( %i)} {%additem( %1, @todo)}
#LMAP @ithinkigotit {#ADDITEM (%roomname( %i)) todo}
#LMAP @ithinkigotit {%roomname(@todo %i)}
#LMAP @ithinkigotit {%additem(%roomname( %i), @todo}


I've tried lots more but can't seem to find right combo, please help.

Thank you
Reply with quote
meyn
Beginner


Joined: 06 Mar 2008
Posts: 27

PostPosted: Wed Apr 02, 2008 5:40 pm   
 
no worry i got it alast

#LMAP @ithinkigotit {#ADDITEM todo %roomname( %i)}


writing it all out helped
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