on *:load: {
.echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Notice Window $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 03 28 2014 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Thank you for using this Addon,igo,Addon: Notice Window $chr(40) $+ v5.4 $+ $chr(41))
.echo -s _____________________________________________________
.echo -s 0,1 Loading Notice Window Add-On...
.echo -s 0,1 You are running mIRC $version on $os $+ .
.echo -s ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
}
on *:unload: {
.echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Notice Window $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 03 28 2014 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Unloading...,igo,Addon: Notice Window $chr(40) $+ v5.4 $+ $chr(41))
}
menu status,menubar {
$iif(%noticepen,$style(1)) Notice Window ( $+ $iif(%noticepen,On,Off) $+ ) {
if (%noticepen) { unset %noticepen | .disable #noticepen | echo -a $timestamp 2,15Notice Window 4CLOSE }
else { set %noticepen ON | .enable #noticepen | echo -a $timestamp 2,15Notice Window 3OPEN }
}
}
#noticepen on
on ^*:NOTICE:*:?: {
if (%noticepen == ON) {
if ($window(@NoticePencere) != $null) { echo @NoticePencere $timestamp 0,3 Notice 1,15 $nick 3,3 1,15 $1- 3,3 | haltdef }
else { window -nke @NoticePencere -1 -1 500 | titlebar @NoticePencere - Notices | echo @NoticePencere $timestamp 0,3 Notice 1,15 $nick 3,3 1,15 $1- 3,3 | haltdef }
}
}
on ^*:NOTICE:*:#: {
if (%noticepen == ON) {
if ($window(@NoticePencere) != $null) { echo @NoticePencere $timestamp 0,3 $chan 1,15 $nick 3,3 1,15 $1- 3,3 | haltdef }
else { window -nke @NoticePencere -1 -1 500 300 | titlebar @NoticePencere - Notices | echo @NoticePencere $timestamp 0,3 $chan 1,15 $nick 3,3 1,15 $1- 3,3 | haltdef }
}
}
#noticepen end