mIRC Home    About    Download    Register    News    Help

Print Thread
#249117 15/11/14 02:57 AM
Joined: Aug 2014
Posts: 32
S
Sparkz Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Aug 2014
Posts: 32
Using this script to stop annoying spam. It used to work just fine but I think I accidentally changed something and I'm not sure how to fix it. Please help:

on *:text:*:#sparkzxviperz: {
var %e #/ § ✌✋👊☝▼ ◄ ▲ ► ◄ ▲ ► ▼ ▶ ◀ ◀ ▶Ã
¢
–ˆ█▄▄░ ░░░░▀░░░▀░░░▀░░░░░░░

var %re /( $+ $replacex(%e,$chr(32),|,/,\/,$chr(40),$+(\,$chr(40)),$chr(41),$+(\,$chr(41)),\,\\,|,\|,],\],[,\[) $+ )/Sig

if $regex($1-,%re) >= 1 {
set -e $+(%,c,$chr(32),$int($v1))
inc $+(%,$nick)
if ($($+(%,$nick),2) > 2) {
.msg $chan .timeout $nick 3600
.msg $chan .timeout $nick 3600
unset $($+(%,$nick),1)

}
elseif ($($+(%,$nick),2) = 2) {
.msg $chan .timeout $nick 2
.msg $chan .timeout $nick 2


}
else {
.msg $chan .timeout $nick 2
.msg $chan .timeout $nick 2

}
}
}


http://gyazo.com/f452d8e45311303f82cc993c2814e563

I'm pretty sure it has something to do with this part:

¢
–ˆ█▄▄░ ░░░░▀░░░▀░░░▀░░░░░░░

http://gyazo.com/8dc049930af42c7adcd8734eed368ee7

Posted pictures of the parts as they mess up when I post them.

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Try using this snippet more stable and with more commands :
http://hawkee.com/snippet/16091/


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard