CTCP Reply Message Faker

By vSkyzv on Mar 12, 2009

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
}

Comments

Sign in to comment.
PATX   -  Mar 14, 2009

a bit pointless. the codes is pretty neat though. i give it a 5.

 Respond  
Gummo   -  Mar 13, 2009

You can make ping checking scripts which test the time difference between your /ctcp and the reply, rather than comparing the $ctime.. This gets around the text ping replies and is what I did.

 Respond  
slacker   -  Mar 13, 2009

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

 Respond  
vSkyzv   -  Mar 13, 2009

Aucun50, yes you can. /silence +.

@Kirby
This was an educational script. /ctcpreply doesn't show you the stuff behind a CTCP.

 Respond  
Kirby   -  Mar 13, 2009

Instead of /notice'ing the person, you might want to use /ctcpreply. An example would be:

.ctcpreply $nick TIME Past your bedtime. | haltdef

or something, if you were to do TIME. Same with FINGER and PING.

 Respond  
Aucun50   -  Mar 12, 2009

Nice not sure you can stop them from pinging you tho. I'm wrong most of the time

 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.