mIRC Home    About    Download    Register    News    Help

Print Thread
#153857 24/07/06 01:49 AM
Joined: Jul 2006
Posts: 2
B
borg62 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
B
Joined: Jul 2006
Posts: 2
need version reply kicker for channel to get rid of catcher akick ban list gets full and still got them joining anyone that could help it would be greatly appreciated

#153858 24/07/06 03:34 AM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
ok, not sure why there is a version "issue" but here you go
Code:
on *:CTCPREPLY:VERSION*: {
  if (*v6.17* iswm $1-) { 
    if ($nick ison #CHANNELNAME) { ban -ku300 #CHANNELNAME $nick updated version }
  }
}

#153859 24/07/06 11:13 AM
Joined: Jul 2006
Posts: 2
B
borg62 Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
B
Joined: Jul 2006
Posts: 2
thank you the version issue is i dont want xdcc catcher in my channel and banning them fills up ban list so i want to kick them on join i think i can edit this and make it work thanks

#153860 24/07/06 10:26 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Damn but thats a good reason to not reply with any verison info at all!

#153861 26/07/06 07:46 PM
Joined: Nov 2004
Posts: 148
D
Vogon poet
Offline
Vogon poet
D
Joined: Nov 2004
Posts: 148
wouldn't that kick all mIRC 6.17 users???

#153862 26/07/06 08:20 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
no, just the ones that replied with there version details <mahahahaha>

#153863 26/07/06 08:40 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
From the mIRC help file:

Note: You can't prevent the standard version reply from being sent.

So, how would I prevent the version details from being sent?

#153864 26/07/06 11:16 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Ignore the requester.

#153865 27/07/06 05:05 AM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
lol

#153866 27/07/06 07:03 PM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
If you want to do multiple CTCP reply changes:

Code:
on ^*:ctcpreply:*: {
  if ($1 == version) { your code to do here including the haltdef command }
}


or if you only want to filter versions and nothing else:

Code:
on ^*:ctcpreply:version: { your code to do here including the haltdef command }


Those who fail history are doomed to repeat it
#153867 27/07/06 07:54 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Hmm, well I tried this
Code:
on ^*:ctcpreply:*:{
  if ($1 == version) {
    notice $nick Why are you looking at my Version info???
    halt
  }
}

But this still returns my version information to the requesting nick. I tried both halt and halfdef

According to the help file, it doesn't seem to be possible to stop the version info from being returned.

#153868 28/07/06 01:53 AM
Joined: Dec 2002
Posts: 1,541
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,541
Right, the default one you cant halt, but a SCRIPT's info you can smile So if I replied with (sake of arguement):

Landon Sandor's the most Leet coder god ever made Version 2.9

you could halt THAT incoming data. Sorry, I misunderstood


Those who fail history are doomed to repeat it
#153869 29/07/06 02:41 AM
Joined: Jul 2006
Posts: 7
S
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
S
Joined: Jul 2006
Posts: 7
Quote:
Right, the default one you cant halt, ...


Yes you can, <snipped>

--
Moderator note: changing the built in version is a violation of the terms of use.

Last edited by MIMP; 29/07/06 03:39 AM.

Link Copied to Clipboard