TaReK Posted January 30, 2010 Report Share Posted January 30, 2010 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 !! Link to comment Share on other sites More sharing options...
takaharu_ Posted January 30, 2010 Report Share Posted January 30, 2010 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. Link to comment Share on other sites More sharing options...
Ronan Posted January 30, 2010 Report Share Posted January 30, 2010 (edited) 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 } Edited January 30, 2010 by Ronan Link to comment Share on other sites More sharing options...
The Gate Keeper Posted January 30, 2010 Report Share Posted January 30, 2010 (edited) 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. Edited January 31, 2010 by The Gate Keeper Link to comment Share on other sites More sharing options...
TaReK Posted January 31, 2010 Author Report Share Posted January 31, 2010 TheGatekeeper It kicks everyone ... who replies & who doesnt ... .. so its not working !! Link to comment Share on other sites More sharing options...
Fanfare Posted January 31, 2010 Report Share Posted January 31, 2010 (edited) 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 } } } Edited January 31, 2010 by Fanfare Link to comment Share on other sites More sharing options...
The Gate Keeper Posted January 31, 2010 Report Share Posted January 31, 2010 TheGatekeeper It kicks everyone ... who replies & who doesnt ... .. so its not working !! i have modified it slightly, not sure if it's better or not. check the previous post. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now