[sugestion] Auto creating folder

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

[sugestion] Auto creating folder

#1 Post by jduartedj » Fri Jan 21, 2011 3:26 pm

I hereon suggest that when you type 'SJF/waypointX' at rom/createpath as filename for a new waypointfile and the folder 'SJF' doesn't exist the bots creates such folder instead of exiting, dramatically trashing the waypoint file and producing an error!

My bests ;)
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: [sugestion] Auto creating folder

#2 Post by lisa » Fri Jan 21, 2011 7:54 pm

I could be wrong and it seems I am a bit lately but I haven't found any reference to creating the actual folder in the lua code sites I've been reading. It deffinately talks about files but no mention of being able to create folders.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 15 guests