All pastes #389691 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-10 22:02 UTC
rendered paste body
alias vc_networkscan {
  var %type = $$1, %type2 = $iif($2 != $null, $2, 0)
  var %nick, %i = 1
  var %donotice = 0

  while (%i <= $ipaddress(*,0).ip) {
    %nick = $ipaddress(*,%i).ip

    if (%donotice == 1) {
      .notice %nick A global network security scan has been issued. Please do not be alarmed by this scan, as it's simply to check whether or not your client returns blacklisted information.
    }

    .ctcp %nick %type

    if (%type2 != 0) {
      .ctcp %nick %type2
    }

    inc %i
  }
}