the script is working, but not like i want

i bind the servers' connection notice and split it

so far so good


if ident matches the list.
i think best way is to check is, if one part of the nickname and the realname or ident is on the list,
but how to do this?
if i use
Code: Select all
if { [string match $[censored] $ident ] && [string match $[censored] $nick] } {
maybe there is a way to do this without using "string match" ?
sorry for my bad english

and thanks for help
misterys