on ^*:notice:*:?:{
haltdef
echo -astm 4[Notice $nick $+ ]:12 $1-
if ($window(@Notices,title) == 1) {
echo -mt @Notices 4[Notice $nick $+ ]:12 $1-
}
}
on ^*:notice:*:#:{
haltdef
echo -astm 4[Notice $nick $+ ]:12 $1-
if ($window(@Notices,title) == 1) {
echo -mt @Notices 4[Notice $nick $+ ]:12 $1-
}
}
on ^*:snotice:*:{
haltdef
echo -astm 4[SNotice]:12 $1-
if ($window(@Notices,title) == 1) {
echo -mt @Notices 4[SNotice]:12 $1-
}
}
alias noticewindow {
window -mk[1]e @Notices
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 -tm $chan 4[ $+ @ $+ $nick $+ ]:12 $1-
halt
}
if ($nick ishop $chan) {
echo -tm $chan 7[ $+ % $+ $nick $+ ]:12 $1-
halt
}
if ($nick isvoice $chan) {
echo -tm $chan 2[ $+ + $+ $nick $+ ]:12 $1-
halt
}
if ($nick isreg $chan) {
echo -tm $chan 10[ $+ $nick $+ ]:12 $1-
halt
}
}
on *:connect:{
.timer 1 10 noticewindow
echo -s 12Starting notice window in 10 seconds.
}
on *:start:{
if (%started == $null) {
.timestamp -f 4|12hh:nn:ss4 TT|12
inc %started
echo -s 12I see this has been the first time you have used this script!
echo -s 4-~-
echo -s 4mIRC Theme created by StealthArcher $chr(124) #Bot $chr(124) #StealthArcher
echo -s 4-~-
echo -s 12All messages in a channel and all notices received will be coloured. Also, all timestamps will be coloured too.
echo -s 4-~-
echo -s 12Your IP is:4 $ip
echo -s 12Your Operating System is:4 $os
echo -s 12Your host is:4 $host
echo -s 12mIRC has been opened for the4 $ord(%started) 12time since using this script.
halt
}
if (%started >= 1) {
.timestamp -f 4|12hh:nn:ss4 TT|12
inc %started
echo -s 4mIRC Theme created by StealthArcher $chr(124) #Bot $chr(124) #StealthArcher
echo -s 4-~-
echo -s 12All messages in a channel and all notices received will be coloured. Also, all timestamps will be coloured too.
echo -s 4-~-
echo -s 12Your IP is:4 $ip
echo -s 12Your Operating System is:4 $os
echo -s 12Your host is:4 $host
echo -s 12mIRC has been opened for the4 $ord(%started) 12time since using this script.
halt
}
}
on *:disconnect:{
noticewindowclose
}
on ^*:join:#:{
haltdef
echo -t $chan 4[Join]: $nick 12joined4 $chan
}
on ^*:part:#:{
haltdef
if ($1- != $null) {
echo -t $chan 4[Part]: $nick 12left4 $chan $+ 12:4 $1-
halt
}
if ($1- == $null) {
echo -t $chan 4[Part]: $nick 12left4 $chan
halt
}
}
on ^*:quit:{
haltdef
var %i = 0
while (%I < $comchan($nick,0)) {
inc %i
if ($1 != $null) {
echo -t $comchan($nick,%i) 4[Quit]: $nick 12has quit IRC4 $+ $iif($1,12:4 $1-)
}
}
}
on ^*:kick:#:{
haltdef
if ($1- != $null) {
echo -t $chan 4[Kick]: $nick 12kicked4 $knick 12from4 $chan $+ 12:4 $1-
halt
}
if ($1- == $null) {
echo -t $chan 4[Kick]: $nick 12kicked4 $knick 12from4 $chan
halt
}
}
on ^*:ban:#:{
haltdef
echo -t $chan 4[Ban]: $nick 12banned4 $bnick 12(4 $+ $banmask $+ 12) from4 $chan
halt
}
on ^*:unban:#:{
haltdef
echo -t $chan 4[UnBan]: $nick 12unbanned4 $bnick 12(4 $+ $banmask $+ 12) from4 $chan
halt
}
on ^*:nick:{
haltdef
var %i = 1
while ($comchan($newnick,%i)) {
echo -t $comchan($newnick,%i) 4[Nickchange]: $nick 12-»4 $newnick
inc %i
}
}
on ^*:mode:#:{
haltdef
echo -t $chan 4[Mode]: $1- 12set by4 $nick 12in4 $chan
halt
}
on ^*:rawmode:#:{
haltdef
echo -t $chan 4[Mode Raw]: $1- 12set by4 $nick 12in4 $chan
halt
}
on ^*:op:#:{
haltdef
echo -t $chan 4[Mode Status]: $opnick 12was given op status by4 $nick
halt
}
on ^*:help:#:{
haltdef
echo -t $chan 4[Mode Status]: $hnick 12was given halfop status by4 $nick
halt
}
on ^*:voice:#:{
haltdef
echo -t $chan 4[Mode Status]: $vnick 12was given voice status by4 $nick
halt
}
on ^*:deop:#:{
haltdef
echo -t $chan 4[Mode Status]: 12Op status was removed from4 $opnick 12by4 $nick
halt
}
on ^*:dehelp:#:{
haltdef
echo -t $chan 4[Mode Status]: 12Halfop status was removed from4 $hnick 12by4 $nick
halt
}
on ^*:devoice:#:{
haltdef
echo -t $chan 4[Mode Status]: 12Voice status was removed from4 $vnick 12by4 $nick
halt
}
on ^*:topic:#:{
haltdef
echo -t $chan 4[Topic]: $nick 12set the topic to:4 $1-
}
on ^*:invite:#:{
haltdef
echo -ast 4[Invite]: $nick 12invited me to join4 $chan
halt
}
on ^*:action:*:#:{
haltdef
echo -tm $chan 4[Action]: $nick 12 $+ $1-
halt
}
alias quit {
quit Red/blue theme created by StealthArcher
}
alias amsg {
amsg 4[Amsg]:12 $1-
}
alias ame {
ame $1- 4[Ame]
}
on *:input:#:{
if (%lastmsg == $1-) { echo -at Repeat error! Type something different to $+(",%lastmsg,",.) | halt }
if (/ == $left($1,1)) { return | halt }
else {
haltdef
echo -tm $chan 12[ $+ $chr(36) $+ $me $+ ]: $1-
.msg $active $1-
set %lastmsg $1-
}
}