Dictionary Scraper

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

Dictionary Scraper

Post by Belgarath » Sun Dec 17, 2017 11:58 am

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

Simply copy the script into the scripts section and you're good to go.

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

Posts: 1099
Joined: Wed Apr 03, 2013 2:19 am

Re: Dictionary Scraper

Post by Jor'Mox » Tue Dec 19, 2017 2:12 pm

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

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests