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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
kiyakerz
Beginner


Joined: 06 Feb 2012
Posts: 11
Location: Phoenix

PostPosted: Thu Feb 09, 2012 3:21 am   

record paths to stringlists
 
Hi, I was wondering if someone could provide some insight on this problem I'm having. I currently have a script that walks through a string list of directions and kills anything it finds along the way. In the beginning I was focusing only on getting the script to work properly so I made a few string lists by hand which takes quite some time to do.

My current method is as follows:
*Use CMUD path recorder to get path I walk manually
*Paste path in notepad
*Enter path into a string list, one direction per a slot

Really all I'm trying to do is find an easy way to convert from something like n10e4s to a stringlist variable. Any suggestions would be helpful, thanks!
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Thu Feb 09, 2012 4:20 am   
 
Use the %pathexpand function.
Reply with quote
kiyakerz
Beginner


Joined: 06 Feb 2012
Posts: 11
Location: Phoenix

PostPosted: Thu Feb 09, 2012 4:43 am   
 
Daern wrote:
Use the %pathexpand function.

Man, I am so glad there's already a function for that. Thank you so much! :)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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