(Type [b]/copyq[/b] to turn it on/off)
What this alias does when turned on, adds [id] before all text on channels, which you can then quickly copy by typing /copyq [u]id[/u], and also adds all copied ids to a text file (to find it type /copyq log)
[b][color=red]Not tested, please post errors here[/b][/color]
[code]
off ^*:text:*:#: {
if (%cq) {
if ($chr(47) isin $left($1,1)) {
return
}
var %msg = $1-
inc %idn
writeini copyq.ini id %idn %msg
echo $chan $+([,%id,]) $+(<,$nick,>) %msg
haltdef
}
}
alias copyq {
if (!$1) {
if (%cq) {
unset %cq
halt
}
set %cq on
}
if ($1 isalpha) {
if ($1 == clear) {
unset %fnid*
echo -a 4Cleared all saved message ids.
halt
}
if ($1 == log) && ($isfile(copyq.ini)) {
run copyq.ini
halt
}
}
if ($1 isnum) {
if (!$readini(copyq.ini,id,$1)) {
echo -a 4Invalid message ID.
halt
}
clipboard -n $readini(copyq.ini,id,$1)
echo -a Message was copied to clipboard.
}
}[/code]