You want to use CTCP protocol event to do what exactly ? also your code has just an flash playback and i cannot understand why you want to use the CTCP event here..
Btw read
here what exactly the CTCP does into mIRC because probably you misunderstood
or
/help ctcp events in mirc