| Commands for Lookup |
| add | [--nokey] <name> <filename> |
Adds a lookup for <name> with the key/value pairs specified in the colon-delimited file specified by <filename>. <filename> is searched for in conf.supybot.directories.data. If <name> is not singular, we try to make it singular before creating the command. If the --nokey option is specified, the new lookup will display only the value when queried, and will omit the key from the response. |
| lookup | <command> [<args> ...] |
Command dispatcher for the Lookup plugin. Use 'list Lookup' to see the commands provided by this plugin. Use 'config list plugins.Lookup' to see the configuration values for this plugin. In most cases this dispatcher command is unnecessary; in cases where more than one plugin defines a given command, use this command to tell the bot which plugin's command to use. |
| remove | <name> |
Removes the lookup for <name>. |
| search | [--{regexp} <value>] [--values] <name> <glob> |
Searches the domain <name> for lookups matching <glob>. If --regexp is given, its associated value is taken as a regexp and matched against the lookups. If --values is given, search the values rather than the keys. |