V_DictionarySearch

by Volte
Return a list of definitions as described by Dictionary.com [More]
To download this library for your Linux/Mac installation, enter this 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

182 downloads
Version 5
Date added: Nov 22 2003
Last updated: Jul 29 2009
0 fans
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.