Hi, actually I am trying to write one tcl, which will read data from a File. The data is written in a format of:
Something:1:1: Text is here...
Something:1:2: Text is here...
Something:1:3: Text is here..
Something:32:21: Text is here..
etc etc..
So when a User goes in a Channel..
!something 1 1
bot read it from the file and paste in the channel.
I`m a bit confused how will I mention these ":" in TCl, is there any best example or any tcl out there with which I learn and continue making my script..
I recommed reading the file line per line and append it to a list after splitting.
that way you have table with each entry as collum and each line as row. Now you only need to read the FAQ/manual to further access the table.