Did you guys both forget mIRC is single threaded? $nick(#,0) will be the same value until that loop (and script) finishes.