Thanks demond, a little bit of re-organising in my script, adding your suggestion and now it all works as i wanted
Re: "-nocase"
do i just add this inline like...
Code: Select all
if {[string compare -nocase $chan #somechannel] == 0} {
or somewhere else?