How to ignore ctcp's? and just get the ping to reply?
yez,,, but i need the ping to reply and work.... but ignore all other ctcps..
try something like:
ctcp *:*:*: {
if ($1 == PING) {
blah
}
}
..should halt all other ctcps and just execute "blah" when you re pinged.
(if the imaginary "else halt" that mirc should "add" doesn t work for some reasons just try
...
if ($1 != PING) { halt }
else {
blah
}
...
*shrugs*
hmm, i don't get it to work..
it need's to block version, time and finger! help me!!
You can't block a ctcp version via a script.
CTCP *:*:*:{
if ($1 == PING) {
echo $colour(ctcp) -ta PING $duration($calc($ctime - $2-))
}
else {
halt
}
haltdef
}
This blocks all but the standard version reply which is flood-protected anyway.
well no u cant block a version via a script aside from ignoring it but ......
i have a script that will infact do what the user is asking ... but i will not post it due to the fact it can also be used to alter a version reply.
Yes, there are ways it could be done, but they are sorta trickery. I know of one way that will work, but only in 6.1.
actually ive used it in several versions of mirc and not at all in 6.1 it is a purely scripted method with no dlls of altering default ctcp events. if youd like a look at the method its dirived from a scriptlet i found in mircscripts site as an alternative to the motfv dll.