Untitled
public text v1 · immutableon *:text:*:?:if ($regex($1-,/(ban|voice)/Si)) && (!$timer($nick)) && (!$($+(%,query.,$nick),2)) .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:?:unset $+(%,query.,$nick)