when i upgrade my windrop to 6.15 it seems one of my tcl's start to behave strange. I figure that it's in that fragment of code:
Code: Select all
set chanlist [chanlist $chan -T]
if {[llength $chanlist]>2} {
set rndnick $nick
set strs [lindex $nanypa [rand [llength $nanypa]]]
while {($rndnick==$nick)||($rndnick==$botnick)} {
set idx [rand [llength $chanlist]]
set rndnick [lindex $chanlist $idx]
set chanlist [lreplace $chanlist $idx $idx]
}
set strs [string map [list "NiCk" $rndnick] $strs]
}
Is this is mistake in my tcl or it's bug in the windrop/eggdrop?
10x