This is a script intended to show people how you can fake your CTCP reply messages.
Basically, CTCPs are nothing more than notices encased in $chr(1), meaning:
/ctcp vSkyzv FINGER
is the same as
/notice vSkyzv $chr(1) FINGER $chr(1)
The /halt command is used to prevent mIRC from sending out the standard reply.
ctcp *:ping:*:{
notice $nick $chr(1) PING You can't get my ping response, $nick $+ ! $ch(1)
halt
}
ctcp *:time:*:{
notice $nick $chr(1) TIME You can't get my time, $nick $+ ! $ch(1)
halt
}
ctcp *:finger:*:{
notice $nick $chr(1) FINGER Don't give me the finger, $nick $+ ! $ch(1)
halt
}
Aucun50 wrote:
Nice not sure you can stop them from pinging you tho. I'm wrong most of the time
on unreal servers to stop ctcps you can do /mode urnick +T what it does is..
Prevents you from receiving CTCPs
and on other servers you can ignore ctcps by useing the /ignore -t @ command
the -t switch is for ctcps