/*
* Notice to Query.
* Makes notices look like queries.
*
* References to the spaces alias.
* http://www.xise.nl/mirc/wiki/doku.php?id=spaces
*
*
* Known Issues:
* Does not play nicely when clicking #channels from services .. the $chr(160) screws stuff up..
* If you paste contents into a channel other people might see "A with an accent character" if their client is not using UTF-8.
*
*/
on ^*:notice:*:?: {
if ($istok(ALIS AuthServ BotServ ChanServ GameServ Global GroupServ HelpServ HostServ InfoServ MemoServ NickServ OperServ ProxyScan Q QuoteServ SaslServ StatServ,$nick,32)) {
haltdef
if (!$query($nick)) {
query $nick
}
echo -lmnrt $nick $chr(60) $+ $nick $+ $chr(62) $spaces($gettok($rawmsg,2-,58))
}
}
alias spaces { returnex $replace($1,$chr(32),$chr(160)) }