PPF Home
Plugins
Developers
   Font size:      

Dict (v1.1)

PDF
PDF

Description

Perform dictionary, jargon, and foldoc lookups.

Find a word, a piece of jargon, or other reference from some online dictionaries. This plugin uses the DICT protocol to search through the DICT, JARGON, and FOLDOC dictionaries from http://www.dict.org

Configuration

The configuration file for this plugin is system/Dict/DictConfig.xml

commandDict

The command for looking up a word in any of the dictionaries on the server. You can set the authLevel to control who is allowed to access the command. The output is used to define where the output from the command will go.

  • authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE
  • output - CHANNEL, PM, NOTICE

      <commandDict authLevel="none" output="channel">!dict</commandDict>

    

commandJargon

The command for looking up a word in The Jargon File.

Note that this assumes that the jargon dictionary is available on the dict server.

You can set the authLevel to control who is allowed to access the command. The output is used to define where the output from the command will go.

  • authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE
  • output - CHANNEL, PM, NOTICE

      <commandJargon authLevel="none" output="channel">!jargon</commandJargon>

    

commandFoldoc

The command for looking up a word in The Free On-line Dictionary of Computing.

Note that this assumes that the foldoc dictionary is available on the dict server.

You can set the authLevel to control who is allowed to access the command. The output is used to define where the output from the command will go.

  • authLevel - ANY, ADMIN, MASTER, TRUSTED, NONE
  • output - CHANNEL, PM, NOTICE

      <commandFoldoc authLevel="none" output="channel">!foldoc</commandFoldoc>

    

dictServer

The server to query for dictionary definitions. You can set the port that is used to connect to the server.

  • port - A port number (positive integer).

      <dictServer port="2628">dict.org</dictServer>

    

Commands

Dictionary lookup

Command: !dict
Description: Lookup a word from dict.org
Auth Level: none
Where to give command: channel, pm
Outputs to: same as given
Example(s):

  • !dict dictionary

Jargon lookup

Command: !jargon
Description: Lookup some jargon from the jargon dictionary
Auth Level: none
Where to give command: channel, pm
Outputs to: same as given
Example(s):

  • !jargon mobo

Foldoc lookup

Command: !foldoc
Description: Lookup a term from the foldoc dictionary
Auth Level: none
Where to give command: channel, pm
Outputs to: same as given
Example(s):

  • !foldoc ram

Change History

v1.1 By EdorFaus: added configuration file, fixed timeout when dict server is down, added response to private messages.
v1.0 First Version by DeadEd