Personally, I would do a more secure method:
%owner $address($nick,2)
if ($address($nick,2) == %owner)