you might want to consider using $address to identify the $nick to the table, because assuming someoens called FRED and someones called BARNEY, then BARNEY changes to DINO, then FRED changes to BARNEY, what do u do now, erase the old BARNEY data replacing it with FREDS? what if he renames back, then DINO Leaves, then BARNEY (was DINO) returns to the channel, hes like a new user.