V_DictionarySearch

by Volte
Return a list of definitions as described by Dictionary.com
Version 5 · Date Added: 11/23/03

If you wish to download this library for your Linux/Mac installation, enter the following on your command line:

DreamDownload byond://Volte.V_DictionarySearch##version=5

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Volte.V_DictionarySearch##version=5

Example:
var/list/Definitions = V_Search("Dog") // Returns a list full of definitions
if(!Definitions["Not found"]) // Checks to see if it found an entry
    src << "First definition found for 'dog':"
    src << Definitions[1] // Display the first definition of the first entry.
else
    src << Definitions["Not found"] // This displays the default 'did not find entry' message. You could also just do; src << "Not found."
    src << Definitions["Did you mean?"] // This displays the 'Did you mean..?' entry. It gives a suggestion of similar words.
</<></<></<>