Page 1 of 1

Help about extracting to txt file

Posted: Thu Nov 03, 2011 7:05 pm
by Filion
So, i would like to make a function, that everytime i an statting ( a proccess to get better stats), i want to extract them in a .txt file. I would be most grateful if you gave me somethin to start with, an idea, a code start.

Re: Help about extracting to txt file

Posted: Thu Nov 03, 2011 7:46 pm
by Delrayne
io.write and io.read come to mind at first glance. Read up on them at lua.org/pil. Someone might be able to give a better explanation, example, code, or idea but it's a start.

Re: Help about extracting to txt file

Posted: Tue Mar 31, 2015 4:27 am
by xpclarck
I have a feeling this would be a good addition to Mudlet in general. Thoughts?????

Re: Help about extracting to txt file

Posted: Tue Mar 31, 2015 8:35 pm
by SlySven
Delrayne wrote:io.write and io.read come to mind at first glance. Read up on them at lua.org/pil. Someone might be able to give a better explanation, example, code, or idea but it's a start.
Yes. take a look at it here.
SlySven
a.k.a. Jomin al'Bara in WoTMUD (if I can ever find the time, eh Filion? ;) )