mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
On CTCP #186027 16/09/07 09:19 PM
Joined: Jun 2003
Posts: 17
S
Stefan_Leroux Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Jun 2003
Posts: 17
hey folks, I was wondering if there is a way to halt the default action on CTCP

eg
On 1:CTCP:FINGER:{
haltdef
ctcpreply FINGER If you want to who I am, just ask me
}

I cant seem to find anything, but I'm reasonably sure that I've gotten this to work before
Cheers all
Stefan Leroux

Last edited by Stefan_Leroux; 16/09/07 11:15 PM.

Swift as the Wind
Silent as a Forest
Fierce as Fire
Immovable as a Mountain
Re: On CTCP [Re: Stefan_Leroux] #186028 16/09/07 09:22 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You aren't allowed to change the default CTCP VERSION reply.

Re: On CTCP [Re: SladeKraven] #186033 16/09/07 09:57 PM
Joined: Jan 2006
Posts: 111
N
noMen Offline
Vogon poet
Offline
Vogon poet
N
Joined: Jan 2006
Posts: 111
You could ignore all ctcp's by adding address *!*@* to the ignore list of the addressbook and checking the ctcp ignore option. But in that case you cannot send a reply.

Re: On CTCP [Re: noMen] #186035 16/09/07 10:26 PM
Joined: Jun 2003
Posts: 17
S
Stefan_Leroux Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Jun 2003
Posts: 17
Sorry, my example was only meant to be that. I was more looking to change the Finger reply, since atm it gives out my name, but I wanted to make it act with a script to instead do something such as my current song kinda thing.
No matter if its not possible, thanks guys


Swift as the Wind
Silent as a Forest
Fierce as Fire
Immovable as a Mountain
Re: On CTCP [Re: Stefan_Leroux] #186038 16/09/07 10:39 PM
Joined: Jun 2007
Posts: 157
W
WideOpenSpace Offline
Vogon poet
Offline
Vogon poet
W
Joined: Jun 2007
Posts: 157
its possible.


for other you can use this:

Code:
CTCP *:*:* {
if ($1 == FINGER) { .ctcpreply $nick $1 YOUR TEXT | halt }
if ($1 == USERINFO) { .ctcpreply $nick $1 YOUR TEXT | halt }
if ($1 == CLIENTINFO) { .ctcpreply $nick $1 YOUR TEXT | halt }
if ($1 == PAGE) { .ctcpreply $nick $1 YOUR TEXT | halt }
if ($1 == TIME) { .ctcpreply $nick $1 YOUR TEXT | halt }
if ($1 == PING) { .ctcpreply $nick $1 YOUR TEXT | halt }
}

Last edited by WideOpenSpace; 16/09/07 11:03 PM.

The harder I chase my dreams the more I experience the time for smiles and tears...
Re: On CTCP [Re: WideOpenSpace] #186040 16/09/07 10:50 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Helping someone remove the default VERSION reply, when it's not meant to be removed or changed. Tut tut.

Re: On CTCP [Re: SladeKraven] #186042 16/09/07 10:53 PM
Joined: Jun 2007
Posts: 157
W
WideOpenSpace Offline
Vogon poet
Offline
Vogon poet
W
Joined: Jun 2007
Posts: 157
its still his choise at the end


The harder I chase my dreams the more I experience the time for smiles and tears...
Re: On CTCP [Re: WideOpenSpace] #186043 16/09/07 10:56 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
It was your choice, you were the one who said it. Why do you think it can't be halted, Khaled doesn't want it changed. Even when I said in an earlier post it isn't to be changed. Please read this carefully.

Re: On CTCP [Re: SladeKraven] #186045 16/09/07 11:03 PM
Joined: Jun 2007
Posts: 157
W
WideOpenSpace Offline
Vogon poet
Offline
Vogon poet
W
Joined: Jun 2007
Posts: 157
happy ?


The harder I chase my dreams the more I experience the time for smiles and tears...
Re: On CTCP [Re: WideOpenSpace] #186046 16/09/07 11:06 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I was never unhappy, but someone else may have been. I was just displeased.

Re: On CTCP [Re: SladeKraven] #186047 16/09/07 11:09 PM
Joined: Jun 2003
Posts: 17
S
Stefan_Leroux Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Jun 2003
Posts: 17
Thank you WideOpenSpace, that works perfectly.

SladeKraven: I can see you point of view. Obviously my example was a bad one, but if it helps (and you choose to believe me) I can guarantee that I dont intend to stop, or alter the Version CTCP, it is only for the CTCP Finger I was looking.
- Have now read through your link about stopping the version being a violation of mIRC agreement. Is this also the case with finger?

Last edited by Stefan_Leroux; 16/09/07 11:12 PM.

Swift as the Wind
Silent as a Forest
Fierce as Fire
Immovable as a Mountain
Re: On CTCP [Re: Stefan_Leroux] #186048 16/09/07 11:12 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Originally Posted By: Stefan_Leroux

SladeKraven: I can see you point of view. Obviously my example was a bad one, but if it helps (and you choose to believe me) I can guarantee that I dont intend to stop, or alter the Version CTCP, it is only for the CTCP Finger I was looking.


Originally Posted By: Stefan_Leroux

On 1:CTCP:VERSION:{
haltdef
ctcpreply Version If you want to know what I'm using, just ask me
}


I believe you when you say you wanted to change the FINGER reply. I have no idea where i got VERSION from. I must have misread your initial post.

Edit: If you are able to use haltdef then I assume it's not a violation. But I'm not entirely sure on that.

Re: On CTCP [Re: SladeKraven] #186049 16/09/07 11:17 PM
Joined: Jun 2003
Posts: 17
S
Stefan_Leroux Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Jun 2003
Posts: 17
Ok, I like that assumption, and I've edited the original post. I can understand the confusion, maybe should have just made an example of what I wanted in the very first place.

Thanks to all


Swift as the Wind
Silent as a Forest
Fierce as Fire
Immovable as a Mountain
Re: On CTCP [Re: Stefan_Leroux] #186050 16/09/07 11:21 PM
Joined: Jun 2007
Posts: 157
W
WideOpenSpace Offline
Vogon poet
Offline
Vogon poet
W
Joined: Jun 2007
Posts: 157
if finger would be illegal then it would be locked or just forced like version is.

since its not, i doubt its illegal.


The harder I chase my dreams the more I experience the time for smiles and tears...
Re: On CTCP [Re: WideOpenSpace] #186052 16/09/07 11:32 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
This isn't a reply to anyone, but what i know it's not a bad thing to remove the version reply that are scripted, how ever for a fev years ago many people hexed mirc to remove the version reply, i belive that wasnt that good, but since you can halt the default output relative easy i don't think it's any problem, if Khaled didn't want you to, then i think he would have forced mirc to send a version reply even due you halt the default one, and i have seen many exmaple on this, one is that the coder ignored all ctcp's, then created a new signal that returned the ctcp reply he want it to send, and i think it's still avalibe for download on a respectable scripting site.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: On CTCP [Re: sparta] #186153 18/09/07 09:10 AM
Joined: Sep 2007
Posts: 32
S
SplitFire Offline
Ameglian cow
Offline
Ameglian cow
S
Joined: Sep 2007
Posts: 32
I think halting a default reply (version, etc) is not a violation, 'coz simply, Khaled coded mIRC with the "ability" to hide default replies

If he wanted, he could have easily programmed mIRC to "ignore" the /halt command if inserted within a VERSION ctcp smile


on me:*:JOIN:#: { .raw part # $crlf join # }
Re: On CTCP [Re: SplitFire] #186166 18/09/07 11:25 AM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
Allowed or not, I think mIRC's a great program and I'm happy to advertise that I'm using it if people check my version. I don't see any reason to hide it. Just my opinion, of course.


Invision Support
#Invision on irc.irchighway.net
Re: On CTCP [Re: sparta] #186168 18/09/07 11:53 AM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline
Fjord artisan
Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
It's not that easy to halt the version reply.
You can't just use the ctcp event and halt it, you need to use debug to catch a few things, it's not that simple to the newbie scripter at all. And why you say "if Khaled didn't want you to, then i think he would have forced mirc to send a version reply even due you halt the default one"

Then why did he start adding cyclic redundancy checks to render mIRC useless when someone tampered with the version reply, or any other internal code?

Re: On CTCP [Re: vexed2] #186176 18/09/07 03:26 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
I havent seen anything that say you arent allowed to in any files or pages on the net, what i know the only thing he don't like is when you edit the mirc.exe it self, as i wrote befor it was a populare thing to hex out the version reply, even change the default icons inside mirc.exe, and that's not allowed.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: On CTCP [Re: sparta] #186177 18/09/07 04:50 PM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline
Fjord artisan
Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
you've completely contradicted yourself in that whole post. laugh

It used to say "Editing the mIRC version reply, huh? :)"

That got removed, and cyclic redundancy checks got added to stop morons from removing the version reply and such like, because some people were using mIRC for illegal activities other than chatting.
I personally think khaled wanted to stop masses of bots from doing their illegal things on IRC
That's why you find some servers now won't let you connect if you don't have a version reply of most of the commonly used clients, including this one.



Page 1 of 2 1 2