mIRC Homepage
Posted By: SS217 CTCP help - 03/04/04 02:35 AM
Alright, I'm working on a script to replace the default CTCP message ((timestamp) [username ctcpmessage]) with my own custom one. And it's been working pretty good except it doesn't catch it all the time. What am I doing wrong, here's the debug script I made just to test.

Code:
ctcp *:*: {
  haltdef 
  echo no
}  


It looks like
(09:34:35) [SS VERSION]
no
no
no
no
no
no
no
no
no
no
Posted By: landonsandor Re: CTCP help - 03/04/04 02:38 AM
try

ctcp ^*:*: {
haltdef
echo no
}

the ^ is needed with haltdef in order to halt the default text smile
Posted By: SS217 Re: CTCP help - 03/04/04 02:39 AM
I'm almost 100% sure ^ is not allowed in ctcp, but I'll give it a shot.
[Edit]
(09:40:24) [SS VERSION]
no
no
no
no
no
no
no
no
no
no

No good, it still shows the default message
[/Edit]
Posted By: landonsandor Re: CTCP help - 03/04/04 02:43 AM
stupid me, I glanced right over the VERSION aspect - no you cant hide it legally
Posted By: SS217 Re: CTCP help - 03/04/04 02:47 AM
I'm not trying to hide it. I'm trying to replace the default text it outputs to the client that's being CTCP'ed with my own, It will still say CTCP nick version and it will still reply mIRC 6.14 Khaled Mardam-Bey

[Edit: to clearify that
instead of it printing (0:00:00) [Nickname CTCPMessage] I want to replace it with (0:00:00) CTCP: (CTCPMessage) from (Nickname)
Posted By: landonsandor Re: CTCP help - 03/04/04 02:54 AM
For some reason Im blanking ATM. Im sure somebody'll be able to help
Posted By: tidy_trax Re: CTCP help - 03/04/04 11:42 AM
/help /debug
the -i switch is what you're after :>
© mIRC Discussion Forums