if you want to prevent "unallowed" ctcp events from being shown and processed, you can do this:

Code:
ctcp *:PING:*: { /noop }
ctcp *:TIME:*: { /noop }
ctcp *:FINGER:*: { /noop }
;
; insert additional allowed ctcp events here
;
ctcp  *:*:*: {  
   /echo -s not allowed ctcp event $1
   /halt
}
ctcp *:FOO:*: {
   /echo -s this line will never be echoed
}

note: if you want to allow ctcp ping/time/finger you have to declare them as shown above.
if you dont' do it, they will not be processed at all.

BTW: in the code above, you can type an empty command body { <space> } instead of { /noop }
The same thing if you type ctcp *:* instead of ctcp *:*:*:
both would work. I don't know if this is an allowed feature or a behavior that is not intended by Khaled.