This script will create & solve (most) anagrams. As seen in the video above, it will work on most English words.
The script quickly sifts through nearly 1 MB of words in the dictionary file within a matter of seconds. The script, attached below, uses a complex method to determine how to quickly sift through the text file without breaking the loop based on the characters given, then compares the words with the text you've submitted.
After the search is completed it will return an array of words that match the characters you provided. For example, "tca" would return: act,cat
(Attached the script due to percent sign.)
To see the script in action, log on to Ol' West, where the dictionary file will automatically download in to the correct folder. Once you're on Ol' West, type ".anagram"
Have fun, hope someone learns something.
