i need a code which does this
on join version check .. if i get no version reply it automatically kicks the user who never replied for the version check .. then it turns the timer off
thank u !!
A TG007 community discussion started by TaReK.
i need a code which does this
on join version check .. if i get no version reply it automatically kicks the user who never replied for the version check .. then it turns the timer off
thank u !!
There's no definitive way of doing this because there is an option in mIRC to turn off responses and you also have the ability to customise the response (either a custom reply or none) so I wouldn't recommend doing this, personally.
I don't get paid to know the answer, therefore I'm far more likely to give you a straight and honest answer.
On *:Join:*:.ctcp $nick version
On *:ctcpreply:version:{
here your code , i would do it for you , but as said by takaharu i wouldn't do it
}
Pomperom
as mentioned above... but if you really wanted it...
on @!*:JOIN:#: { .timerversion $+ $chan $+ $nick 1 10 kick $chan $nick no version response | .ctcp $nick version }
on *:PART:#: { .timerversion $+ $chan $+ $nick off }
on *:KICK:#: { .timerversion $+ $chan $+ $nick off }
on *:QUIT: { .timerversion* $+ $nick off }
on *:CTCPREPLY:VERSION: { .timerversion* $+ $nick off }
note... it has literally been 5 years since i have touched mIRC so i don't even know if this code is correct. If it isn't post back and someone else will amend it.
I don't know if you can wildcard inside the timer.
TheGatekeeper
It kicks everyone ... who replies & who doesnt ... .. so its not working !!
I'm not sure if this will work, but give it a shot if you will:
on !*:JOIN:#:.ctcp $nick VERSION
on *:CTCPREPLY:VERSION*: {
if (!$1-) {
var %v = $comchan($nick,0)
while (%v) {
if ($me isop $comchan($nick,%v)) {
kick $v2 $nick No vesion reply detected!
}
dec %v
}
}
}
Sign in to reply or start a new topic where your account has permission.