I am having problems with the log file name. As soon as you name it, I want the code itself to be deleted by extension .txt, but how can I do this? I use this to name it:
LogName = io.read()
f=io.open(LogName, "w")
I tried to make a f=io.open(LogName,".txt","w")whole bunch of others.
source
share