try
change #channel_to_monitor
to your channel name
menu * {
$$iif($$1,$style(0)) Get $+(,$$1,$chr(39),s) CTCP Version: CTCP $$1 VERSION
}
on *:JOIN:#channel_to_monitor: {
if $nick == $me { halt }
else { set %.ch $chan | CTCP $nick VERSION }
}
on 1:CTCPREPLY:VERSION*: { onotice $($+(%,.,ch),2) $nick is using IRC client: $1- }