--==-- LinkBot Functionality Description --==-- Libraries used: AbilityLinksDB3 (embedded) PlayerTradeLinksDB1 (embedded) ItemLinksDB4 (embedded) TalentLinksDB2 (embedded) TradeskillLinksDB4 (embedded) QuestLinksDB3 (embedded) This addon automatically responds to chat-based requests for links. The addon has support for six link types: abilities, items, quests, talents, player trades, and tradeskills. If you wish to remove support for a link type (for instance, if you never use it and want to conserve memory or improve initial login time), simply delete or rename the folder corresponding to that link type in the Sections subdirectory. The format for placing a request is as follows: can be "!", to receive up to ten matching item links whispered to you, or ">", to receive a single matching item link in the chat channel from which the request was placed. is a simple string to specify which type of links should be returned. These include: "link" - Any type of links. "linkability", "linkspell" - Ability links. "item", "linkitem" - Item links. "linkquest" - Quest links. "linktalent" - Talent links. "linktrade", "linkplayertrade" - Player Trade links. "linkts", "linktradeskill" - Tradeskill links. is the text that's part of the name of the link you want to see, as well as any options/filters to apply to the search. Potential options/filters are as follows: "case" - Indicates that the search should be cAsE sensitive. "reg" - Indicates that regular expressions should be allowed during the name-based search. "r:#" or "rarity:#" - For item links, indicates the numeric rarity to match. # can be 0 (grey, trash) to 7 (tan, heirloom). If omitted, all rarities will be included. This can be a range (such as "2-6"), or multiple rarities (such as "3,5,6"), but if it is either of these then it cannot contain spaces. "minLev:#" - For quest links, indicates the minimum level to match. "maxLev:#" - For quest links, indicates the maximum level to match. "ts:" - For tradeskill links, indicates that only tradeskills of should be included, where is just the first three letters of the name of the tradeskill (for example, "eng" for engineering). "trade:" - Same thing as above, but for player trade links. "minSkill:#" - For player trade links, indicates the minimum skill level to match. "maxSkill:#" - For player trade links, indicates the maximum skill level to match. These options must appear at the beginning of the search text if they are included at all, and must be contained between arrows (<>). Multiple options should be delimited by a comma or space. Examples: >link test This request will return the first link which is found to have "test" in its name. No options are used in this request, so the search can match any case variation of "test" and will not use regular expressions. >link .+ $ This request makes use of a regular expression to return the first link whose name ends with a space. !link test This request will return up to ten links which have the word "test" (case-sensitive) in their names. >link ^Test This request will return the first link which starts its name with the word "Test" (case sensitive). !linkitem pants This request will return up to ten items from the database which are found to be of rarity level 4 (epic) and have the word "pants" (non-case-sensitive) in their name. >linkitem This request will return the first item in the database which has a rarity of either 0, 1, 2, or 4. There is no name-search text, but the option-denoting arrows (<>) must still appear. !linkquest call to arms This request will return up to ten quest links which are found to be level -1 (which means "always equal to player level") and contain the text "call to arms". This should match all of the battleground daily quests. >linkquest This request will return the first link in the database which has a level of 60-69. There is no name-search text, but the option-denoting arrows (<>) must still appear. !linkts health This request uses the "ts:enc" option find up to ten tradeskills from the database which belong to the Enchanting trade, and contain the text "health" somewhere thereafter. >linktrade This request uses the "trade:enc" and "minSkill:450" options to find the first player trade in the database which belongs to the Enchanting trade and has a skill level of at least 450. The addon can be configured via "/linkbot" slash commands. Options include setting up bans on certain players if they are abusing the addon; setting which chat channels are monitored for requests; and toggling whether to show outbound whispers (containing requested links) sent by the addon.