on *:load: {
.echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Private Message Blocker $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 17/10/2016 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Thank you for using this Addon,igo,Addon: Private Message Blocker $chr(40) $+ v5.4 $+ $chr(41))
.echo -s _____________________________________________________
.echo -s 0,1 Loading 9,1Private Message Blocker0,1 Add-On...
.echo -s 0,1 You are running mIRC $version on Windows $+ $os
.echo -s ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
}
on *:unload: {
.echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Private Message Blocker $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 17/10/2016 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Unloading...,igo,Addon: Private Message Blocker $chr(40) $+ v5.4 $+ $chr(41))
}
;############################ -«•»SaNCaK ScripT«•»- ############################
Menu Menubar {
$iif(%PrivateMessages,$style(1)) Private Messages ( $+ $iif(%PrivateMessages,On,Off) $+ ) {
if (%PrivateMessages) { unset %PrivateMessages | .disable #ignore | .disable #ignore1 | echo -a $timestamp 2,15Private Messages 4CLOSE }
else { set %PrivateMessages on | .enable #ignore | .enable #ignore1 | echo -a $timestamp 2,15Private Messages 3OPEN }
}
}
alias messages { .disable #ignore | .disable #ignore1 }
alias nomessages { .enable #ignore | .enable #ignore1 }
#ignore off
on *:TEXT:*:?:{
close -m $nick
msg $nick 4I am currently not accepting private messages, this message has not been read.
}
#ignore end
#ignore1 off
notice $nick 4I am currently not accepting private messages, this message has not been read.
#ignore1 end