Hes trying to loop through dynamicly named variables %thinganumber checking if $nick is in the variable contents, so setting %thinga to anything isnt what hes after.