tglogo.png
0 LIKES

Snippet


No red text on talking

In Category General IRC Posted by Jagie On 03/27/10

This snippet basically stops the channels you choose, in the tree bar/switch bar from becoming the colour red, when someone talks or does /describe - /me

This helps when your idling in channels and you just want the channels you regularly talk in to be
alias -l NoLiteChans return #chan1 #chan2 #chan3 #chan4
on 1:TEXT:*:#:{
  if ($istok($NoLiteChans,$chan,32)) {
    window -g0 $chan
  }
} 
on 1:ACTION:*:#:{
  if ($istok($NoLiteChans,$chan,32)) { 
    window -g0 $chan
  }
}


Comments 5

Fanfare - Wednesday, 7 April, 2010
I think you can shrink this script further like this: [code]alias -l NoLiteChans return #chan1 #chan2 #chan3 on 1:TEXT:*:#:nored $1- on 1:ACTION:*:#:nored $1- alias -l nored { if ($istok($NoLiteChans,$chan,32)) { window -g0 $chan } }[/code]
Jagie - Sunday, 4 April, 2010
Thank you(Y)
chain - Thursday, 1 April, 2010
Yes indeed very nice code (Y)
Jagie - Monday, 29 March, 2010
Thanks smile
err0r - Sunday, 28 March, 2010
nice

Please note that on our website we use cookies necessary for the functioning of our website, cookies that optimize the performance. To learn more about our cookies, how we use them and their benefits, please read our Cookie Policy.
I Understand