Quakenet Bot messages in a new window

This script places the Quakenet bots in a separate window.
Works only for the Q, L, O and S bots and using mIRC.

n ^*:notice:*:?:{
if ($nick == o) {
if (broadcast !isin $1-) { haltdef }
if ($query(o) == $null) { query O }
echo -t o <O> $1-
}
elseif ($nick == q) {
if (broadcast !isin $1-) { haltdef }
if ($query(q) == $null) { query Q }
echo -t q <Q> $1-
}
elseif ($nick == l) {
if (broadcast !isin $1-) { haltdef }
if ($query(l) == $null) { query L }
echo -t l <L> $1-
}
elseif ($nick == s) {
if (broadcast !isin $1-) { haltdef }
if ($query(s) == $null) { query S }
echo -t s <S> $1-
}
}