Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ON *:INPUT:*:{ if ( $left($1,1) == / ) || ($ctrlenter) || ($inpaste) return | else {
- if (c isincs $gettok($chan($target).mode,1,32)) return
- if (%fuck1 == off) return {
- else {
- if ( %txtver == AquaArrows ) { say 06,02-06,12-06,11-06,00>06,01[12,01 $1- 06,01]06,00<06,11-06,12-06,02- | halt }
- if ( %txtver == Pink LegoBlocks ) { say 00,13(6)13,06(1)14,01(06 $1- 14)01,06(13)06,13(00) | halt }
- if ( %txtver == GreenBoxes ) { say 01,03[09]03,09[00]09,01[00,01 $1- 9,01]00,09[03]09,03[01] | halt }
- if ( %txtver == BlueInferno ) { say 11,0|0,11|12,11|11,12|2,12|12,2|6,2|2,6|1,6|6,1|12,1 $1- 6,1|1,6|2,6|6,2|12,2|2,12|11,12|12,11|0,11|11,0| | halt }
- if ( %txtver == RainbowColour ) { var %a = 13 6 11 0 9 7 4 | msg $target $regsubex($1-,/([^ ])/g,$+($chr(3),$gettok(%a,$iif($calc(\n % $numtok(%a,32)),$v1,$numtok(%a,32)),32),$chr(44),01,\1)) | halt }
- if ( %txtver == Shot_Down's Colour 1 ) { var %c.norm 12,01 | var %c.punc 00 | var %c.caps 14 | var %c.hnick 06 }
- if ( %txtver == Shot_Down's Colour 2 ) { var %c.norm 04,01 | var %c.punc 00 | var %c.caps 05 | var %c.hnick 14 }
- if ( %txtver == Shot_Down's Colour 3 ) { var %c.norm 12,01 | var %c.punc 06 | var %c.caps 09 | var %c.hnick 14 }
- if ( %txtver == Shot_Down's Colour 4 ) { var %c.norm 10,01 | var %c.punc 00 | var %c.caps 11 | var %c.hnick 14 }
- if ( %txtver == Shot_Down's Colour 5 ) { var %c.norm 14,01 | var %c.punc 04 | var %c.caps 00 | var %c.hnick 04 }
- if (!* isin $1) return
- if (%addnick) && ($regex($gettok($1-,1,32),/^( $+ $iif($chan,$nicks,$+(\Q,$target,\E|\Q,$me,\E)) $+ ):$/Si)) { var %txtn $+(12,$mid(%c.norm,4),$chr(40),07,$chr(40),04,$regml(1),07,$chr(41),12,$chr(41),) | tokenize 32 $gettok($1-,2-,32) }
- if (%acronym) tokenize 32 $replacexcs($1-,idgaf,I dont give a fuck,)
- if (%emoticon) tokenize 32 $replacexcs($1-,?,?,c.c,ç.ç,c_c,ç_ç,x.x,×.×,x_x,×_×,x-x,×-×,xD,×Ã,;p,;Þ,>.>,¬.¬,<3,♥,:D,:Ã,D:<,Ã:<,:p,:Þ,:P,:Þ,;x,;×,-.-,[-.-])
- if (%autoformat) tokenize 32 $regsubex($replacex($1-,dont,don't,aint,ain't),/(^[A-z]|[.?!:]\s[A-z]|\bi\b)/g,$upper(\1)) $+ $iif(!$regex($1-,/^[!?@.]|[^A-z0-9]$/S),.)
- tokenize 32 $strip($1-,c)
- if ($chan) { var %x $nick(#,0) | while (%x) { tokenize 32 $regsubex($1-,/(?<=[]})".?¿!: $+ $chr(44) $+ ({[]| ['"]| |^)(\Q $+ $nick(#,%x) $+ \E)(?=[]})".?¿!: $+ $chr(44) $+ ({[]| |$)/gi,$+(,$nick(#,%x),)) | dec %x } }
- else tokenize 32 $regsubex($1-,/(?<=[]})".?¿!: $+ $chr(44) $+ ({[]| ['"]| |^)(\Q $+ $+($me,\E,|\Q,$target) $+ \E)(?=[]})".?¿!: $+ $chr(44) $+ ({[]| |$)/gi,$+(,$iif(\1 == $me,$me,$target),))
- var %y $chan(0) | while (%y) { tokenize 32 $regsubex($1-,/(?<=[]})".?¿!: $+ $chr(44) $+ ({[]| ['"]| |^)(\Q $+ $chan(%y) $+ \E)(?=[]})".?¿!: $+ $chr(44) $+ ({[]| |$)/gi,$+(,$chan(%y),)) | dec %y }
- if (%c.punc) tokenize 32 $regsubex($1-,/((?:\b[DXO][:;x\=]\b|\b[:;x\=][][\|ZOPSGDVX]\b|\b[0xvo][_.]+[0xvo]\b|\bXD\b|\bx]\b|[^a-z\s ])+)/gi,$+(%c.punc,\1,%c.norm))
- if (%c.caps) tokenize 32 $regsubex($1-,/(?<=^|[A-z\s]| $+ %c.norm $+ )(?<! $+ %c.punc $+ [A-z])([A-Z]+)(?=[A-z\s]| $+ %c.punc $+ |$)/g,$+(%c.caps,\1,%c.norm))
- tokenize 32 $regsubex($1-,/((?:\d{1,2})?\S+)/g, $+(,%c.hnick,$strip(\1),%c.punc,))
- .msg $target %txtn $+(,$iif(%underline,),$iif(%bold,),%c.norm,$1-,)
- echo $target $timestamp $+(12,$chr(40),,06,$regsubex($iif($chan,$nick(#,$me).pnick,$me),/^([~&@%+])([~&@%+]*)/,$+(9,$replace(\1,$regml(2),$null),06)),,12,$chr(41),) %txtn $+(,$iif(%underline,),$iif(%bold,),%c.norm,$1-,)
- haltdef
- }
- }
- }
- }
- ON ^*:TEXT:*:#:{
- echo $chan $timestamp $+(2,$chr(40),,9,$regsubex($iif($chan,$nick(#,$nick).pnick,$nick),/^([~&@%+])([~&@%+]*)/,$+(9,$replace(\1,$regml(2),$null),12)),,2,$chr(41),) 15 $+ $1-
- haltdef
- }
- Menu *,menubar {
- $me $+ 's Colour Talker
- .$style(3) Current Colour - $iif(%txtver,%txtver,None set)
- .-
- .$iif(%emoticon,$style(1)) Emoticons:$iif(%emoticon,unset %emoticon,set %emoticon 1) | echo -a [Emoticons turned $iif(%emoticon,on,off) $+ .]
- .$iif(%autoformat,$style(1)) Automatic formatting:$iif(%autoformat,unset %autoformat,set %autoformat 1) | echo -a [Automatic formatting turned $iif(%autoformat,on,off) $+ .]
- .$iif(%acronym,$style(1)) Acronyms:$iif(%acronym,unset %acronym,set %acronym 1) | echo -a [Acronyms turned $iif(%acronym,on,off) $+ .]
- .$iif(%addnick,$style(1)) Address Nicks:$iif(%addnick,unset %addnick,set %addnick 1) | echo -a [Address Nicks turned $iif(%addnick,on,off) $+ .]
- .-
- .$iif(%bold,$style(1)) Bold:$iif(%bold,unset %bold,set %bold 1) | echo -a [Bold turned $iif(%bold,on,off) $+ .]
- .$iif(%underline,$style(1)) Underline:$iif(%underline,unset %underline,set %underline 1) | echo -a [Underline turned $iif(%underline,on,off) $+ .]
- .-
- .Talkers
- ..$iif(%txtver == AquaArrows,$style(3)) Aqua Arrows :set %txtver AquaArrows | echo -a [ $+ %txtver is enabled.]
- ..$iif(%txtver == Pink LegoBlocks,$style(3)) Pink Lego Blocks:set %txtver Pink LegoBlocks | echo -a [ $+ %txtver is enabled.]
- ..$iif(%txtver == GreenBoxes,$style(3)) Green Boxes:set %txtver GreenBoxes | echo -a [ $+ %txtver is enabled.]
- ..$iif(%txtver == BlueInferno,$style(3)) Blue Inferno:set %txtver BlueInferno | echo -a [ $+ %txtver is enabled.]
- ..$iif(%txtver == RainbowColour,$style(3)) Rainbow Colour:set %txtver RainbowColour | echo -a [ $+ %txtver is enabled.]
- .Coloured Caps/Punctuation
- ..$iif(%txtver != Custom,$style(1)) Presets
- ...Shot_Down's Colours
- ....$iif(%txtver == Shot_Down's Colour 1,$style(3)) Shot_Down's Colour 1:set %txtver Shot_Down's Colour 1 | echo -a [ $+ %txtver is enabled.]
- ....$iif(%txtver == Shot_Down's Colour 2,$style(3)) Shot_Down's Colour 2:set %txtver Shot_Down's Colour 2 | echo -a [ $+ %txtver is enabled.]
- ....$iif(%txtver == Shot_Down's Colour 3,$style(3)) Shot_Down's Colour 3:set %txtver Shot_Down's Colour 3 | echo -a [ $+ %txtver is enabled.]
- ....$iif(%txtver == Shot_Down's Colour 4,$style(3)) Shot_Down's Colour 4:set %txtver Shot_Down's Colour 4 | echo -a [ $+ %txtver is enabled.]
- ....$iif(%txtver == Shot_Down's Colour 5,$style(3)) Shot_Down's Colour 5:set %txtver Shot_Down's Colour 5 | echo -a [ $+ %txtver is enabled.]
- ..$iif(%txtver == Custom,$style(1)) Custom
- ...$iif(((%txtver == Custom) && (%c.norm)),$style(1)) Normal
- ....$iif(00* iswm %c.norm,$style(1)) White (00):set %txtver Custom | set %c.norm 00
- ....$iif(01* iswm %c.norm,$style(1)) Black (01):set %txtver Custom | set %c.norm 01
- ....$iif(02* iswm %c.norm,$style(1)) Navy (02):set %txtver Custom | set %c.norm 02
- ....$iif(03* iswm %c.norm,$style(1)) Green (03):set %txtver Custom | set %c.norm 03
- ....$iif(04* iswm %c.norm,$style(1)) Red (04):set %txtver Custom | set %c.norm 04
- ....$iif(05* iswm %c.norm,$style(1)) Brown (05):set %txtver Custom | set %c.norm 05
- ....$iif(06* iswm %c.norm,$style(1)) Purple (06):set %txtver Custom | set %c.norm 06
- ....$iif(07* iswm %c.norm,$style(1)) Orange (07):set %txtver Custom | set %c.norm 07
- ....$iif(08* iswm %c.norm,$style(1)) Yellow (08):set %txtver Custom | set %c.norm 08
- ....$iif(09* iswm %c.norm,$style(1)) Lime (09):set %txtver Custom | set %c.norm 09
- ....$iif(10* iswm %c.norm,$style(1)) Teal (10):set %txtver Custom | set %c.norm 10
- ....$iif(11* iswm %c.norm,$style(1)) Aqua (11):set %txtver Custom | set %c.norm 11
- ....$iif(12* iswm %c.norm,$style(1)) Blue (12):set %txtver Custom | set %c.norm 12
- ....$iif(13* iswm %c.norm,$style(1)) Fuchsia (13):set %txtver Custom | set %c.norm 13
- ....$iif(14* iswm %c.norm,$style(1)) Gray (14):set %txtver Custom | set %c.norm 14
- ....$iif(15* iswm %c.norm,$style(1)) Silver (15):set %txtver Custom | set %c.norm 15
- ....$iif(!%c.norm,$style(1)) Unset:set %txtver Custom | unset %c.norm
- ...$iif((%txtver == Custom) && ($mid(%c.norm,4)),$style(1)) Background
- ....$iif(($mid(%c.norm,4) == ,00),$style(1)) White (00):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,00
- ....$iif(($mid(%c.norm,4) == ,01),$style(1)) Black (01):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,01
- ....$iif(($mid(%c.norm,4) == ,02),$style(1)) Navy (02):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,02
- ....$iif(($mid(%c.norm,4) == ,03),$style(1)) Green (03):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,03
- ....$iif(($mid(%c.norm,4) == ,04),$style(1)) Red (04):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,04
- ....$iif(($mid(%c.norm,4) == ,05),$style(1)) Brown (05):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,05
- ....$iif(($mid(%c.norm,4) == ,06),$style(1)) Purple (06):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,06
- ....$iif(($mid(%c.norm,4) == ,07),$style(1)) Orange (07):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,07
- ....$iif(($mid(%c.norm,4) == ,08),$style(1)) Yellow (08):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,08
- ....$iif(($mid(%c.norm,4) == ,09),$style(1)) Lime (09):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,09
- ....$iif(($mid(%c.norm,4) == ,10),$style(1)) Teal (10):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,10
- ....$iif(($mid(%c.norm,4) == ,11),$style(1)) Aqua (11):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,11
- ....$iif(($mid(%c.norm,4) == ,12),$style(1)) Blue (12):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,12
- ....$iif(($mid(%c.norm,4) == ,13),$style(1)) Fuchsia (13):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,13
- ....$iif(($mid(%c.norm,4) == ,14),$style(1)) Gray (14):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,14
- ....$iif(($mid(%c.norm,4) == ,15),$style(1)) Silver (15):set %txtver Custom | set %c.norm $mid(%c.norm,1,3) $+ ,15
- ....$iif(!$mid(%c.norm,4),$style(1)) Unset:set %txtver Custom | set %c.norm $mid(%c.norm,1,3)
- ...$iif(((%txtver == Custom) && (%c.punc)),$style(1)) Punctuation
- ....$iif(00* iswm %c.punc,$style(1)) White (00):set %txtver Custom | set %c.punc 00
- ....$iif(01* iswm %c.punc,$style(1)) Black (01):set %txtver Custom | set %c.punc 01
- ....$iif(02* iswm %c.punc,$style(1)) Navy (02):set %txtver Custom | set %c.punc 02
- ....$iif(03* iswm %c.punc,$style(1)) Green (03):set %txtver Custom | set %c.punc 03
- ....$iif(04* iswm %c.punc,$style(1)) Red (04):set %txtver Custom | set %c.punc 04
- ....$iif(05* iswm %c.punc,$style(1)) Brown (05):set %txtver Custom | set %c.punc 05
- ....$iif(06* iswm %c.punc,$style(1)) Purple (06):set %txtver Custom | set %c.punc 06
- ....$iif(07* iswm %c.punc,$style(1)) Orange (07):set %txtver Custom | set %c.punc 07
- ....$iif(08* iswm %c.punc,$style(1)) Yellow (08):set %txtver Custom | set %c.punc 08
- ....$iif(09* iswm %c.punc,$style(1)) Lime (09):set %txtver Custom | set %c.punc 09
- ....$iif(10* iswm %c.punc,$style(1)) Teal (10):set %txtver Custom | set %c.punc 10
- ....$iif(11* iswm %c.punc,$style(1)) Aqua (11):set %txtver Custom | set %c.punc 11
- ....$iif(12* iswm %c.punc,$style(1)) Blue (12):set %txtver Custom | set %c.punc 12
- ....$iif(13* iswm %c.punc,$style(1)) Fuchsia (13):set %txtver Custom | set %c.punc 13
- ....$iif(14* iswm %c.punc,$style(1)) Gray (14):set %txtver Custom | set %c.punc 14
- ....$iif(15* iswm %c.punc,$style(1)) Silver (15):set %txtver Custom | set %c.punc 15
- ....$iif(!%c.punc,$style(1)) Unset:set %txtver Custom | unset %c.punc
- ...$iif(((%txtver == Custom) && (%c.caps)),$style(1)) Caps
- ....$iif(00* iswm %c.caps,$style(1)) White (00):set %txtver Custom | set %c.caps 00
- ....$iif(01* iswm %c.caps,$style(1)) Black (01):set %txtver Custom | set %c.caps 01
- ....$iif(02* iswm %c.caps,$style(1)) Navy (02):set %txtver Custom | set %c.caps 02
- ....$iif(03* iswm %c.caps,$style(1)) Green (03):set %txtver Custom | set %c.caps 03
- ....$iif(04* iswm %c.caps,$style(1)) Red (04):set %txtver Custom | set %c.caps 04
- ....$iif(05* iswm %c.caps,$style(1)) Brown (05):set %txtver Custom | set %c.caps 05
- ....$iif(06* iswm %c.caps,$style(1)) Purple (06):set %txtver Custom | set %c.caps 06
- ....$iif(07* iswm %c.caps,$style(1)) Orange (07):set %txtver Custom | set %c.caps 07
- ....$iif(08* iswm %c.caps,$style(1)) Yellow (08):set %txtver Custom | set %c.caps 08
- ....$iif(09* iswm %c.caps,$style(1)) Lime (09):set %txtver Custom | set %c.caps 09
- ....$iif(10* iswm %c.caps,$style(1)) Teal (10):set %txtver Custom | set %c.caps 10
- ....$iif(11* iswm %c.caps,$style(1)) Aqua (11):set %txtver Custom | set %c.caps 11
- ....$iif(12* iswm %c.caps,$style(1)) Blue (12):set %txtver Custom | set %c.caps 12
- ....$iif(13* iswm %c.caps,$style(1)) Fuchsia (13):set %txtver Custom | set %c.caps 13
- ....$iif(14* iswm %c.caps,$style(1)) Gray (14):set %txtver Custom | set %c.caps 14
- ....$iif(15* iswm %c.caps,$style(1)) Silver (15):set %txtver Custom | set %c.caps 15
- ....$iif(!%c.caps,$style(1)) Unset:set %txtver Custom | unset %c.caps
- ...$iif(((%txtver == Custom) && (%c.hnick)),$style(1)) Nick Highlighter
- ....$iif(00* iswm %c.hnick,$style(1)) White (00):set %txtver Custom | set %c.hnick 00
- ....$iif(01* iswm %c.hnick,$style(1)) Black (01):set %txtver Custom | set %c.hnick 01
- ....$iif(02* iswm %c.hnick,$style(1)) Navy (02):set %txtver Custom | set %c.hnick 02
- ....$iif(03* iswm %c.hnick,$style(1)) Green (03):set %txtver Custom | set %c.hnick 03
- ....$iif(04* iswm %c.hnick,$style(1)) Red (04):set %txtver Custom | set %c.hnick 04
- ....$iif(05* iswm %c.hnick,$style(1)) Brown (05):set %txtver Custom | set %c.hnick 05
- ....$iif(06* iswm %c.hnick,$style(1)) Purple (06):set %txtver Custom | set %c.hnick 06
- ....$iif(07* iswm %c.hnick,$style(1)) Orange (07):set %txtver Custom | set %c.hnick 07
- ....$iif(08* iswm %c.hnick,$style(1)) Yellow (08):set %txtver Custom | set %c.hnick 08
- ....$iif(09* iswm %c.hnick,$style(1)) Lime (09):set %txtver Custom | set %c.hnick 09
- ....$iif(10* iswm %c.hnick,$style(1)) Teal (10):set %txtver Custom | set %c.hnick 10
- ....$iif(11* iswm %c.hnick,$style(1)) Aqua (11):set %txtver Custom | set %c.hnick 11
- ....$iif(12* iswm %c.hnick,$style(1)) Blue (12):set %txtver Custom | set %c.hnick 12
- ....$iif(13* iswm %c.hnick,$style(1)) Fuchsia (13):set %txtver Custom | set %c.hnick 13
- ....$iif(14* iswm %c.hnick,$style(1)) Gray (14):set %txtver Custom | set %c.hnick 14
- ....$iif(15* iswm %c.hnick,$style(1)) Silver (15):set %txtver Custom | set %c.hnick 15
- ....$iif(!%c.hnick,$style(1)) Unset:set %txtver Custom | unset %c.hnick
- .-
- .Reset colours:unset %txtver | unset %c.* | echo -a [Colours Off]
Add Comment
Please, Sign In to add comment