I just tried it and it worked fine, do you have this script in its own file? Do you have another script listening for all (*) socket events?

To have something available to only a single nick use this:
Code:
 if ($nick != the_nick) return