Code: Select all
FIR
text1
text2
text3
FIRST
text4
text5
text6
LAST
text7
text8
text9
NEXT
[...]
Code: Select all
RANDOM0
Constant
RANDOM1
RANDOM2
RANDOM3
RANDOM4
RANDOM5
Code: Select all
foreach line [split [egghttp:data $sock] \n] {
if {[string match "*Constant*" $line]} {
putlog "$line"
# And i need to write line RANDOM4
}}
Code: Select all
Tcl error [back]: can't read "test_nick": no such variable