All pastes #390211 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-11 07:14 UTC
rendered paste body
on *:TEXT:*:#BT-MaTcH:{
  if ($regex($1-,/(?:j?t?wizzy?|jt)/Si) || ($me isin $strip($1-))) {
    if (!$window(@notify)) window @notify
    aline -h @notify $+([,$asctime(h:nntt),]) $+(<,$nick,@,$chan,>) $1-
    beep 10
  }
}

on *:TEXT:*:#Hybrid.BT,#bc.1:{
  if ($regex($1-,/^\[\d\d:\d\d\] .*[^:]:/Si)) {
    if ($regex($3-,/(?:j?t?wizzy?|jt)/Si) || ($me isin $strip($3-))) {
      if (!$window(@notify)) window @notify
      var %a = $strip($2)
      aline -h @notify $+([,$asctime(h:nntt),]) $+(<,$mid(%a,1,$calc($len(%a) - 1)),@,$chan,>) $1-
      beep 10
    }
  }
}