Dictionary Scraper

Share your scripts and packages with other Mudlet users.
Post Reply
User avatar
Belgarath
Posts: 232
Joined: Fri Jul 26, 2013 7:19 am
Discord: macjabeth#7149

Dictionary Scraper

Post by Belgarath »

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
Last edited by Belgarath on Mon Feb 05, 2018 7:11 pm, edited 2 times in total.

Jor'Mox
Posts: 1142
Joined: Wed Apr 03, 2013 2:19 am

Re: Dictionary Scraper

Post by Jor'Mox »

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.

Post Reply