!v

By NaZaRa on Sep 15, 2012

!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

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.