You can use $nick to represent the nickname of the user that executed the command. It’s been a long time since I used mIRC, but you could do something like this.
on *:TEXT:!join:#: {
msg $chan .join # $+ $nick
msg $chan Joined $nick $+ 's channel!
}