Are you tired of always having to google word definitions from those fancy-schmancy people who show off their vocabulary? Well, I hear you, my friend. Your worries and fears have been heard and answered.
This script will scrape the internet for words you wish to define. Better yet, the results will also produce examples and sentences to help clarify its meaning.
It is by no means a perfect solution, but it has worked well for me.
Since it seems that the latest Mudlet release does not allow exporting packages without immediately crashing, I'll just include the script and directions here!
The Script
Installation
Simply copy the script into the scripts section and you're good to go.
Usage
It will automatically create a define alias for you to use - just pass it a word and see the results.
And that's all, folks. Have fun expanding your lexical repertoire.
Yours truly,
Belgarath
Dictionary Scraper
Dictionary Scraper
Last edited by Belgarath on Mon Feb 05, 2018 7:11 pm, edited 2 times in total.
Re: Dictionary Scraper
I always like to use registerAnonymousEventHandler, rather than using the built in system that relies on the name of the script, especially in a case like this, where you aren't distributing it as a package. One line of code vs two steps that someone could mess up. Anyway, cool script.