All pastes #567262 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-14 22:14 UTC
rendered paste body
on *:text:*:?: {
  if ($regex($1-,/(ban|voice)/Si)) && (!$timer($nick)) && (!$($+(%,query.,$nick),2)) {
    msg $nick [AutoMsg] Dont message me about bans or voice - this message will be ignored.
    .timer $+ $nick 1 20 qr $nick $1-
  }
}
alias -l qr {
  if (!$window(@Queries)) window -n @Queries
  aline -a @Queries $asctime([dd-mm][HH:nn:ss]) $+(<,$1,>) $2-
  close -m $1
}
on *:input:?: {
  set $+(%,query.,$target) y
  if ($timer($target)) .timer $+ $target off
}
on *:close:?:if ($($+(%,query.,$nick),2)) unset $+(%,query.,$nick)