rendered paste bodyon ^*:notice:*:?:{
haltdef
echo -ast 4[Notice $nick $+ ]:12 $1-
if ($window(@Notices,title) == 1) {
echo -mt @Notices 4[Notice $nick $+ ]:12 $1-
}
}
on ^*:notice:*:#:{
haltdef
echo -ast 4[Notice $nick ( $+ $chan $+ )]:12 $1-
if ($window(@Notices,title) == 1) {
echo -mt @Notices 4[Notice $nick $+ ]:12 $1-
}
}
alias noticewindow {
window -mk[1] @Notices
echo -m @Notices 4mIRC Theme created by StealthArcher $chr(124) #Bot $chr(124) #StealthArcher
echo -m @Notices 4-~-
echo -m @Notices 12You just opened the Notices window.
echo -m @Notices 12All notices received will be shown in this window if it is open.
echo -m @Notices 4-~-
echo -mt @Notices 4[Notice Example]:12 This is an example of this window.
}
alias noticewindowclose {
window -c @Notices
}
on ^*:text:*:#:{
haltdef
if ($nick isop $chan) {
echo -t $chan 4[ $+ @ $+ $nick $+ ]:12 $1-
halt
}
if ($nick ishop $chan) {
echo -t $chan 7[ $+ % $+ $nick $+ ]:12 $1-
halt
}
if ($nick isvoice $chan) {
echo -t $chan 2[ $+ + $+ $nick $+ ]:12 $1-
halt
}
if ($nick isreg $chan) {
echo -t $chan 10[ $+ $nick $+ ]:12 $1-
halt
}
}
on *:connect:{
noticewindow
}
on *:disconnect:{
noticewindowclose
}
alias setup {
timestamp -f 4|12hh:nn:ss4 TT|12
noticewindow
}