Added by Mr. BS almost 9 years ago
New parameter -p to command /gcmem to output text to irc channel or query.
For more info about GCMEM, check the FAQ page.
alias gcmem {
if ($1 == -p) {
set %ingcmem 2
}
.!gcmem
}
on ^*:CLIENTTEXT:Total Memory*:*:{
var %output = echo -agtc info $prefixsys
if (%ingcmem) && ($window($active).type isin channel query) {
%output = msg $active
.dec -z %ingcmem
}
%output $1-
haltdef
}