CTCP Reply

By MNM on Nov 13, 2005

Just a simple snippet that will echo someones ctcp reply in a channel for version, ping etc.
!ctcp [nick] [type]

on *:ctcpreply:*: { msg %ctcp.chan CTCP Reply from $nick for ( $+ %ctcp $+ ) - $2- | unset %ctcp.chan | unset %ctcp }
on *:text:!ctcp*:#: { 
  ctcp $2 $3
  set %ctcp $3 
  set %ctcp.chan $chan 
}

Comments

Sign in to comment.
Jonesy44   -  Jun 30, 2009

"why not use !version nick" - because other CTCP's are available besides VERSION.

 Respond  
k0ji   -  Jun 30, 2009
  • /ctcp: insufficient parameters (line 3, ctcp.fon)
 Respond  
k0ji   -  Jun 30, 2009

why not use !version nick

 Respond  
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.