Code: Select all
foreach tr [regexp -all -inline {<tr class="dlc_info_row">.*?</tr>} $data] {
# put your regexp to extract details from $tr here
}
What kind of command? irc/dcc?CyberWar wrote:How i can make a command like this for my Bot?
utf-8zhjwp wrote:What is wrong?
Code: Select all
fconfigure $file_no -translation binary
Code: Select all
set count [llength [lsearch -all -exact -index 5 [banlist $chan] [lindex [split $text] 0]]]
That's weird. How about doing a fcopy with -size == file size? That way, when the callback is invoked, you'll either have the entire file or an error. (or SHOULD have - I didn't quite understand what went wrong in your previous fcopy experiment)Empus wrote:Unfortunately that made it much much slower :<