Somewhat similar to what knarfbot did.
Adds a small input box under the Kongregate chat input box to request items definition from the Swords & Potions 2 wiki.
For example, when you type "item: long sword" and hit Enter, the script requests the corresponding Wiki page and displays a message in the chat window with all the info on "Long Sword".
It also works with "rare" and "use" for rare resources, telling you which items can be crafted with the requested resource.
Your browser must be able to run user scripts, so use for example:
- Firefox with extension GreaseMonkey
- Chrome/Chromium with extension TamperMonkey
Then go the script page by clicking on it in the list above or use this link or this one. Click on the "Raw" button to install the script.
Finally, go the game page (or reload it if it was already open), open the "Chat" tab and use it!