This is an easy way to get information on a command on the EFNet network.
It uses EFnet's server-side command /help and parses the feedback using raws.
This is ideally for a bot, but can also be loaded by a non-bot client.
Usage: !efhelp
I really can't stress this enough: This isn't useful outside of EFNet.
on *:text:!efhelp &:#:{
if ($nick isop #) && ($network == EFnet) {
.raw help $2
set %efchan #
set %eflookup $2
}
}
raw 524:*: if (%efchan) { .msg %efchan $remove($3,:) $4- | unset %ef* }
raw 704:*: if (%efchan) .msg %efchan Usage: $+(/,%eflookup) $4-
raw 705:*: if (%efchan) .msg %efchan $3-
raw 706:*: if (%efchan) unset %ef*