!v
Send a CTCP version to and sends the reply to the channel.
on *:TEXT:!v *:#:{
set %chver $chan
.enable #CTCP-v
if ($2 ison $chan) .ctcp $2 VERSION
else msg $chan $2 Is not on $chan $+ .
}
#CTCP-v off
on 1:CTCPREPLY:VERSION*:{
msg %chver $nick Using: $2-
unset %chver
.disable #CTCP-v
}
#CTCP-v end