﻿CraftBot will be your customers' best friend for in-game crafting information. 

It provides other people an automated way to find out which crafting skills you currently have, and optionally which reagents are required for a particular recipe.

CraftBot is heavily modified from EnchantBot.

Features:
- Silently scans and store crafts whenever crafting windows are open (except Enchanting).
- Send reagent list to user easily via slash command.
- Dynamic event registration.

Authors: Krakhaan of Khaz'goroth

Translators: Put your name here by helping with the translation.

Slash Commands:
'/cb ( on | off )' - Toggles CraftBot on or off.
'/cb send <user> <number | craft link | unique keyword>' - Sends first matching craft link and reagent list to user. e.g. /cb send krakhaan mooncloth bag
'/cb sendr <user> <reagent link | name>' - Sends recipe that uses specified reagent to user. e.g. /cb sendr krakhaan bolt of mageweave
'/cb limit <number>' - Sets the maximum number of results returned for each search (defaults to 10). To not limit, set limit to 0.
'/cb reset' - Clears crafting data for current character.
'/cb resetall' - Clears crafting data for all characters.
'/cb search ( player | realm | xrealm )' - Toggles search mode where,
player - searches only current player data
realm - searches all characters' data in the current realm (default)
xrealm - searches all
'/cb faction ( on | off )' - Toggles if search includes all factions or current faction, only applicable in realm/xrealm modes, where,
on - searches only characters of the same faction (default)
off - searches any characters of any faction

Optional dependencies:
None at the moment.

Version History:
1.0.5
- Added configurable maximum number of results
- Added reset of data
- Added sending of recipe that uses a specific reagent
- Added handling of weapon and armor item links in ebsearch queries e.g. cbsearch [Mooncloth Bag]

1.0.4
- Added faction and category information filtering
- Fixed bug for not scanning when it should
- Minor code optimizations

1.0.3
- Removed status text during scans
- Added search modes: player, realm, xrealm
- Changed custom trim function to lua function
- Minor code optimizations

1.0.2
- Added code to prevent multiple concurrent scans within CraftBot

1.0.1
- Added /cb send command that was erronously omitted
- Minor code revisions
- Fixed misc bugs
- Added trimming of whitespaces on queries, fix for 'cbsearch  ' queries

1.0
- Initial Release