Hi, bot should putlog when pattern matches string, it's not a prob to determine which pattern matches but I wanna know if it matches $nick or $user2 or both.
if {([string match $rnn $nick]) || ([string match $rnn $user2])} {
putlog "$rnn matched ..."
}