the sample code i made doesn't show anything to status window, so unless you have echo using the -s switch, only other way i can think of offhand is mirc-options/irc/"events" where you may have toggled it to show joins in status window instead of channel?

Note that HALTDEF doesn't halt any other scripts from seeing the JOIN event, so might also check if you have a different script echoing stuff to status window.