Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias -l highlighted if ($regex($1-,/YOURNAMEHERE/Si)) return $true
- ;if you want multiple highlights, replace YOURNAMEHERE with (highlight1|highlight2) and you can add as many as you need/want.
- on *:START:{
- .timestamp -f 4[hh4:nn4] | .timestamp on
- }
- alias -l levelc { return $iif($1 isop $chan,4@,$iif($1 === ChanServ,4@,$iif($1 ishop $chan,8%,$iif($1 isvoice $chan,12+)))) }
- on ^*:TEXT:*:#:{
- haltdef
- echo $+ $iif($highlighted($1-),$chr(32) $+ -m) $chan $iif($highlighted($1-),14[4HL14] $+ $chr(32)) $+ $timestamp ( $+ $levelc($nick) $+ 14 $+ $nick $+ ) $1-
- }
- on ^*:RAWMODE:#:{
- haltdef
- echo -t $chan $alert ChanMode: $levelc($nick) $+ 14 $+ $nick sets 14[4 $+ $1 $+ 14]4 $iif($2,$2-)
- }
- on ^*:NICK:{
- haltdef | var %x $comchan($newnick,0) | while (%x) {
- echo $comchan($newnick,%x) $timestamp $alert Nick:14 $nick $+ $iif($newnick isop $comchan($newnick,%x),4»»»,$iif($newnick ishop $comchan($newnick,%x),8»»»,$iif($newnick isvoice $comchan($newnick,%x),12»»»,»»»))) $+ 14 $newnick
- dec %x
- }
- }
- on ^*:JOIN:#:{
- haltdef
- if ($nick != $me) { echo -t $chan $alert Joins:14 $nick (14 $+ $replace($address,@,@14,.,4.14) $+ ) }
- else { echo -t $chan ————————————————————————————————— | echo -t $chan $alert Now talking in4 # $+ . }
- }
- on ^*:PART:#:{
- haltdef
- if ($nick != $me) {
- echo -t $chan $alert Parts: $levelc($nick) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )14 $1-
- }
- }
- on ^*:QUIT:{
- haltdef | var %x $comchan($nick,0) | while (%x) {
- echo -t $comchan($nick,%x) $alert Quits: $iif($nick isop $comchan($nick,%x),4@,$iif($nick ishop $comchan($nick,%x),8%,$iif($nick isvoice $comchan($nick,%x),12+))) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )4:14 $1-
- dec %x
- }
- }
- on *:INPUT:#:{
- if (/* !iswm $1) || ($ctrlenter) {
- haltdef | .msg # $1- | echo -at ( $+ $levelc($me) $+ 14 $+ $me $+ ) $1-
- }
- }
- on ^*:ACTION:*:#:{
- haltdef
- echo $+ $iif($highlighted($1-),$chr(32) $+ -m) $chan $iif($highlighted($1-),14[4HL14] $+ $chr(32)) $+ $timestamp 13* ( $+ $levelc($nick) $+ 14 $+ $nick $+ )13 $1-
- }
- on ^*:NOTICE:*:?:{
- haltdef | var %x $comchan($nick,0) | while (%x) {
- echo $comchan($nick,%x) ? $+ $timestamp [ $+ $iif($nick isop $comchan($nick,%x),4@,$iif($nick ishop $comchan($nick,%x),8%,$iif($nick isvoice $comchan($nick,%x),12+))) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )] $1-
- dec %x
- }
- if ($nick !ison $active) {
- echo -a ? $+ $timestamp [ $+ $levelc($nick) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )] $1-
- }
- if ($active != Status window) {
- echo ? $+ $timestamp [14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )] $1-
- }
- }
- on ^*:NOTICE:*:#:{
- haltdef
- echo $chan ? $+ $timestamp 4(14 $+ $chan $+ 4) [ $+ $levelc($nick) $+ 14 $+ $replace($nick,.,4.14) (14 $+ $iif(@ isin $replace($address,@,@14,.,4.14),$v2,Server) $+ )] $1-
- }
- on ^*:KICK:#:{
- haltdef
- if ($knick != $me) {
- echo -t $chan $alert Kicks: [ $+ $levelc($knick) $+ 14 $+ $knick (14 $+ $replace($gettok($address($knick,5),2,33),@,@14,.,4.14) $+ )] was kicked by [ $+ $levelc($nick) $+ 14 $+ $nick $+ ]14 $1- }
- else {
- echo -t $alert Kicks: 4You were kicked from4 # by [ $+ $levelc($nick) $+ 14 $+ $nick (14 $+ $replace($address,@,@14,.,4.14) $+ )]14 $1-
- }
- }
- on ^*:TEXT:*:?:{
- query $nick | haltdef | echo $nick 14[4PM14] $timestamp (14 $+ $nick $+ ) $1-
- }
- on *:INPUT:?:{
- if (/* !iswm $1) || ($ctrlenter) {
- haltdef | .msg $active $1- | echo -a 14[4PM14] $timestamp (14 $+ $me $+ ) $1-
- }
- }
- on ^*:SNOTICE:*:{ echo ? $+ $timestamp (14 $+ $replace($nick,.,4.14) $+ ) $1- | haltdef }
- on ^*:TOPIC:#:{ haltdef | echo -t $chan $alert Topic Change [ $+ $levelc($nick) $+ 14 $+ $nick $+ ]: $1- }
- on ^*:INVITE:#:{ haltdef | echo -t $alert Invite:4 $nick (14 $+ $replace($address,@,@14,.,4.14) $+ ) invites you to join4 $chan $+ . }
- on ^*:ACTION:*:?:{ haltdef | echo $nick 14[4PM14] $timestamp 13* (14 $+ $nick $+ )13 $1- }
- on ^*:USERMODE:{ echo -t UserMode: You changed: (14 $+ $1- $+ ) | haltdef }
- alias notice { if ($2) { .notice $1- | echo -q ? $+ $timestamp to (14 $+ $1 $+ ) $2- } }
- alias query { query $1 | if ($2) { .msg $1- | echo -a 14[4PM14] $timestamp (14 $+ $me $+ ) $2- } }
- alias me {
- if ($1) {
- .describe $active $1-
- if ($chan) { echo -ta 13* ( $+ $levelc($me) $+ 14 $+ $me $+ )13 $1- }
- else { echo $nick 14[4PM14] $timestamp 13* (14 $+ $me $+ )13 $1- }
- }
- }
- raw 332:*:{ echo -t $2 $alert Topic: $3- | haltdef }
- raw 333:*:{ echo -t $2 $alert Topic: Set by 4[14 $+ $gettok($3,1,33) 4(14 $+ $iif(! isin $3,$replace($gettok($3,2,33),@,@14,.,4.14),unknown address) $+ 4)] at 4(14 $+ $asctime($4) $+ 4) | echo -t $2 ————————————————————————————————— | haltdef }
- alias alert { return 14[4¤14] }
- raw 313:*:{ echo -a 4| $5- | haltdef }
- raw 311:*:{ echo -a 4|¯¯¯¯¯¯¯¯¯¯¯(/whois14 $2 $+ 4) | echo -a 4|14 $3 $+ @14 $+ $replace($4,.,4.14) * $6- | haltdef }
- raw 319:*:{ echo -a 4| on14 $remove($3-,@,%,+) | haltdef }
- raw 312:*:{ echo -a 4|4 $replace($3,.,14.04) 14(04 $+ $4- $+ 14) | haltdef }
- raw 307:*:{ echo -a 4|14 Identified | haltdef }
- raw 317:*:{ echo -a 4| Idle:4 $duration($3) 14| Signed on4 $duration($calc($ctime - $4)) ago. | haltdef }
- raw 318:*:{ echo -a 4|___________(/whois14 $2 $+ 4) | haltdef }
- raw 335:*:{ echo -a 4|14 is a Bot | haltdef }
- raw 671:*:{ echo -a 4| 4S14ecure 4C14onnection | haltdef }
- raw 301:*:{ echo -a 4|14 Away: $3- | haltdef }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement