tedrock
New member
is there a way to call a specific line from a file? like if i had a list of drinks i could just tell it to call line 4
also is there way to mirror or write data to a specific line in a file or even clear the whole file before writing to it?
the reason this could be usful is for having a separate preference file for a script so people don't need to change all the preferences again when they update it. also the clearing a file before writing could be usful for those mushroom scripts. you just tell it to write to a file whatever the next day is so next time you run the main mushroom script it will just do something like
and runthisscript.txt just has like
or whatever depending on what day you are on. then after the script is done for the day it just writes call 5.txt over call 4.txt or whatever to runthisscript.txt so it will run day 5 the next day...
hope that made sense
also is there way to mirror or write data to a specific line in a file or even clear the whole file before writing to it?
the reason this could be usful is for having a separate preference file for a script so people don't need to change all the preferences again when they update it. also the clearing a file before writing could be usful for those mushroom scripts. you just tell it to write to a file whatever the next day is so next time you run the main mushroom script it will just do something like
Code:
call runthisscript.txt
Code:
call 4.txt
hope that made sense
