; load this into your mirc scripts (alt+r -> file menu -> load)
; commands are /urlv (for quick help), /addv, /delv and /showv
alias urlv {
echo -a 0,1URL Virus Protection Help
echo -a type: /addv <#channel> - to add a channel to protect
echo -a type: /delv <#channel> - to delete a protected channel
echo -a type: /showv - to show all channels you are protecting
}
alias showv { if (%formatchansv != $null) { echo -a 0,1You are protecting the following channels against URL viruses: | echo -a 0,1 $+ %formatchansv }
else { echo -a 0,1You are not protecting any channels against URL viruses. }
}
alias addv {
if ($2 != $null) { echo -a You gave too many parameters | halt
}
elseif ( $1 == $null) { echo -a Correct Usage = /addv #ChannelName | halt
}
elseif ( $1 isin %formatchansv) { echo -a $1 was already added | halt
}
elseif ( $chr(35) !isin $1 ) { echo -a $1 must have a $chr(35) in front. | halt
}
else { set %formatchansv %formatchansv $1
echo -a 9,1Added $1 to your channel protection against URL viruses.
halt
}
}
alias delv {
if ($2 != $null) { echo -a You gave too many parameters | halt
}
elseif ( $1 == $null ) { echo -a Correct Usage = /delv #ChannelName | halt
}
elseif ( $1 !isin %formatchansv) { echo -a $1 has not been added | halt
}
elseif ( $chr(35) !isin $1 ) { echo -a $1 must have a $chr(35) in front. | halt
}
else { set %tempformat $1
set %formatchansv $remove(%formatchansv,$1)
unset %tempformat
echo -a 4,1Removed $1 from your channel protection against URL viruses.
halt
}
}
on ^1:text:*winrg.swf*:#: {
echo -a 14,1Message from0,1 $nick 14,1containing4,1 [winrg.swf] 14,1blocked by mIRC Power Pack.
if ($chan !isin %formatchansv ) {
{ notice $nick 4,1 $+ $nick $+ : Your message (( $1- )) contains a URL that directs users to a web page that contains a virus. | notice $nick 4,1The fact that your computer sent this message indicates that your computer IS infected with a virus. You should scan your system for viruses IMMEDIATELY. Your message was automatically blocked by mIRC Power Pack due to dangerous/viral content. | if (%formatchansv != $null) { notice $nick 4,1Be forewarned that I am protecting channels0,1 $chr(91) %formatchansv $chr(93) 4,1against URL virus messages. If you post a URL virus in any of the channels I am protecting, you will be KICKBANNED. } | halt }
halt
}
if ($me isop #) {
who $nick
mode # -o+b $nick $address($nick,%mpp.masklevel)
kick # $nick 4,1KICKBAN:0,1 $nick $+ . 4,1REASON:0,1 Spamming URL Viruses. Scan your computer before coming back. Thank you drive through please.
halt
}
}
on ^1:text:*pingpong.swf*:#: {
echo -a 14,1Message from0,1 $nick 14,1containing4,1 [pingpong.swf] 14,1blocked by mIRC Power Pack.
if ($chan !isin %formatchansv ) {
{ notice $nick 4,1 $+ $nick $+ : Your message (( $1- )) contains a URL that directs users to a web page that contains a virus. | notice $nick 4,1The fact that your computer sent this message indicates that your computer IS infected with a virus. You should scan your system for viruses IMMEDIATELY. Your message was automatically blocked by mIRC Power Pack due to dangerous/viral content. | if (%formatchansv != $null) { notice $nick 4,1Be forewarned that I am protecting channels0,1 $chr(91) %formatchansv $chr(93) 4,1against URL virus messages. If you post a URL virus in any of the channels I am protecting, you will be KICKBANNED. } | halt }
halt
}
if ($me isop #) {
who $nick
mode # -o+b $nick $address($nick,%mpp.masklevel)
kick # $nick 4,1KICKBAN:0,1 $nick $+ . 4,1REASON:0,1 Spamming URL Viruses. Scan your computer before coming back. Thank you drive through please.
halt
}
}
on ^1:text:*winnoise.swf*:#: {
echo -a 14,1Message from0,1 $nick 14,1containing4,1 [winnoise.swf] 14,1blocked by mIRC Power Pack.
if ($chan !isin %formatchansv ) {
{ notice $nick 4,1 $+ $nick $+ : Your message (( $1- )) contains a URL that directs users to a web page that contains a virus. | notice $nick 4,1The fact that your computer sent this message indicates that your computer IS infected with a virus. You should scan your system for viruses IMMEDIATELY. Your message was automatically blocked by mIRC Power Pack due to dangerous/viral content. | if (%formatchansv != $null) { notice $nick 4,1Be forewarned that I am protecting channels0,1 $chr(91) %formatchansv $chr(93) 4,1against URL virus messages. If you post a URL virus in any of the channels I am protecting, you will be KICKBANNED. } | halt }
halt
}
if ($me isop #) {
who $nick
mode # -o+b $nick $address($nick,%mpp.masklevel)
kick # $nick 4,1KICKBAN:0,1 $nick $+ . 4,1REASON:0,1 Spamming URL Viruses. Scan your computer before coming back. Thank you drive through please.
halt
}
}
on ^*:text:*winrg.swf*:?: { echo -a 14,1Message from0,1 $nick 14,1containing4,1 [winrg.swf] 14,1blocked by mIRC Power Pack. | notice $nick 4,1 $+ $nick $+ : Your message (( $1- )) contains a URL that directs users to a web page that contains a virus. | notice $nick 4,1The fact that your computer sent this message indicates that your computer IS infected with a virus. You should scan your system for viruses IMMEDIATELY. Your message was automatically blocked by mIRC Power Pack due to dangerous/viral content. | if (%formatchansv != $null) { notice $nick 4,1Be forewarned that I am protecting channels0,1 $chr(91) %formatchansv $chr(93) 4,1against URL virus messages. If you post a URL virus in any of the channels I am protecting, you will be KICKBANNED. } | halt }
on ^*:text:*pingpong.swf*:?: { echo -a 14,1Message from0,1 $nick 14,1containing4,1 [pingpong.swf] 14,1blocked by mIRC Power Pack. | notice $nick 4,1 $+ $nick $+ : Your message (( $1- )) contains a URL that directs users to a web page that contains a virus. | notice $nick 4,1The fact that your computer sent this message indicates that your computer IS infected with a virus. You should scan your system for viruses IMMEDIATELY. Your message was automatically blocked by mIRC Power Pack due to dangerous/viral content. | if (%formatchansv != $null) { notice $nick 4,1Be forewarned that I am protecting channels0,1 $chr(91) %formatchansv $chr(93) 4,1against URL virus messages. If you post a URL virus in any of the channels I am protecting, you will be KICKBANNED. } | halt }
on ^*:text:*winnoise.swf*:?: { echo -a 14,1Message from0,1 $nick 14,1containing4,1 [winnoise.swf] 14,1blocked by mIRC Power Pack. | notice $nick 4,1 $+ $nick $+ : Your message (( $1- )) contains a URL that directs users to a web page that contains a virus. | notice $nick 4,1The fact that your computer sent this message indicates that your computer IS infected with a virus. You should scan your system for viruses IMMEDIATELY. Your message was automatically blocked by mIRC Power Pack due to dangerous/viral content. | if (%formatchansv != $null) { notice $nick 4,1Be forewarned that I am protecting channels0,1 $chr(91) %formatchansv $chr(93) 4,1against URL virus messages. If you post a URL virus in any of the channels I am protecting, you will be KICKBANNED. } | halt }