Ok, that doesn't help, although thanks
Lets say, for arguments sake, that its a top 5 uk singles chart. That the bset way i can explain it. I already have a trigger that on !text, will play the first 5 lines of the text file.
What i want is when someone types !add blahblah, it inserts the line blahblah at the TOP of the file, without deleting or replacing any other lines, so that the top 5 lines are always the most recently added via the !add command.
Does that make sense?
Say the file looks like this at the moment:
no1
no2
no3
no4
no5
And if i !add no6, then the txt file will look like this:
no6
no1
no2
no3
no4
no5