PDA

View Full Version : Herb Checker Script



Maerit
05-06-2009, 01:26 AM
I put this in as a reply to another post, but to be more specific, here is a general herb inventory checker for anyone in need. The script is designed to search your inventory for herbs based on a specified town and list off the herbs you're missing. It helps me keep a stock of healing components handy, and know what to pick up off the benches.

To execute this script, you'll need to enter one argument for the town. Please use Landing, Teras, Icemule, Pinefar, RR, EN, or Sol. It will check your inventory for all appropriate herbs for the specified town, AND for generic herbs sold in the Landing. Once it locates any missing herbs, it will provide you a shopping list for the specified town. This script is not terribly elegant or innovative, but I find it very useful.

*Make sure your herb holding containers are open prior to running the script.

**Not programmed for Zul Logoth herbs.

Danical
05-06-2009, 01:33 AM
Not to diminish your work at all, but I would look into Lich for these sorts of scripts.

The use of hashs/arrays would make this script insanely easy.