Hi, I`m looking for a tcl script that can store lines by my request like
when I type !addfixtures line1 bla
it will write bla on the first line of fixtures.txt so that I can write as much lines as I want on that file, of course I can also !del the file or !clear the file so it will be empty.
and if someone types !fixtures on the chat room, it will play the user fixtures.txt
not that hard to decide where to put the line in the file. just add the whole file to a list, with each line as an element. then do linsert where you want the file, before adding all the lines back to the file