i want the contents of a txt displayed to the channel
i havent tried this but first off i dont even know where i would put this command. so please be more discriptive, sorry and thanks
set contents [split [read [set f [open "test.txt" r]]][close $f] \n]; #borrowed from user ;)
foreach line $contents { puthelp "PRIVMSG #mychannel :$line" }
set contents [split [read [set f [open "test.txt" r]]][close $f] \n]; #borrowed from user
foreach line $contents { puthelp "PRIVMSG #mychannel :$line" }
thanks but where do i type this at, should i just make a seperate tcl then just copy and paste that?