I'm trying to create a dictionary script that uses dict.org to retrieve the link of the queried word and post the link to the channel. Now, I've gotten the script to do exactly what I want, works fine. However, one thing bothers me.
When a query is made, it returns the entire URL to the channel. I prefer to send a link (in the format of "word defined" where the quoted text is a link).
Example:
A user does
Code: Select all
.define eggCode: Select all
egg defined: http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query=eggCode: Select all
egg definedIs this possible?
Many thanks.