EFNet Help Lookup

By Rolo on Nov 26, 2009

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*

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.