does anyone know which command I put here for the script to create a file with the name of the file I selected ?? in this case the name of the script is "script test.lua" I run the script, select the other script which in this case is "SCRIPT v1.lua" but when I click "ok" the script creates a file named "script test.lua.Test.lua" instead of getting "SCRIPT v1.Test.lua" does anyone know how to fix this?
gg.prompt({"Select your File :"},{gg.getFile()},{"file"})
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
ImNoCheating
does anyone know which command I put here for the script to create a file with the name of the file I selected ?? in this case the name of the script is "script test.lua" I run the script, select the other script which in this case is "SCRIPT v1.lua" but when I click "ok" the script creates a file named "script test.lua.Test.lua" instead of getting "SCRIPT v1.Test.lua" does anyone know how to fix this?
gg.prompt({"Select your File :"},{gg.getFile()},{"file"})
io.open(gg.getFile()..".Test.lua","w")
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.