With a remote script, yes.
Press Alt+R and in the Remote section (if it's empty) enter the code:
on ^*:TEXT:*:#chan1:if ($nick == nickname) haltdef
Replace "#chan1" with the channel name and "nickname" with the person's nick.
If the remote section is not empty, create a new one first via File > New