This is sorta what I am looking for, if this makes sense. As previously, I modified your code. I am not sure if it will work this way, but I am wanting !list to list everything in that entire file. Is this possible to do in mIRC?
on *:text:!trackrequest *:#: {
write -c trackrequest $+ $chan $+ .txt
write trackrequest $+ $chan $+ .txt $2-
msg $chan $2- is now added to the queue.
}
on *:text:!tracklist:#: {
msg $chan Next in line is: $read(trackrequest $+ $chan $+ .txt ,1)
}
on *:text:!list:#: {
msg $chan $(read trackrequest $+ $chan $+ .txt ,0)
}