Jump to content

Version Check


TaReK

Recommended Posts

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 by The Gate Keeper
Link to comment
Share on other sites

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 by Fanfare
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...