Difference between revisions of "MQ2Bzsrch" - MMOBugs Wiki

(Added content in template form.)
(set to official link)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{plugin}}
 
{{plugin}}
 
{{Pluginbox
 
{{Pluginbox
| name = MQ2Bzsrch
+
| name=MQ2Bzsrch
| author=[http://www.macroquest2.com/phpBB2/profile.php?mode=viewprofile&u=730 DKAA] & [http://www.macroquest2.com MQ2 Devs]
+
| author=[http://www.macroquest2.com MQ2 Devs]
| link = [http://www.macroquest2.com/wiki/index.php/MQ2Bzsrch MQ2 Wiki Link]
+
| link=[http://www.macroquest2.com/wiki/index.php/MQ2Bzsrch MQ2 Wiki Link]
 
| commands=/bzsrch
 
| commands=/bzsrch
| source = Yes (GPL)
+
| source = Yes
 
| usesini = No
 
| usesini = No
 
}}
 
}}
Line 11: Line 11:
 
<font class="highlight">MQ2Bzsrch</font> allows commandline bazaar searching.
 
<font class="highlight">MQ2Bzsrch</font> allows commandline bazaar searching.
  
== Commands ==
+
Refer to the official wiki at [http://www.macroquest2.com/wiki/index.php/MQ2Bzsrch MQ2Bzsrch Official Wiki] for further information.
<span class="highlight2">/bzsrch [params] [name]</span>
 
* <span class="highlight2">[params]</span> can be one of the following:
 
** race any, barbarian, dark elf, dwarf, erudite, froglok, gnome, half elf, human, iksar, ogre, troll, vah shir, wood elf
 
** class any, bard, beastlord, berserkers, cleric, druid, enchanter, magician, monk, necromancer, paladin, ranger, rogue, shadow knight, shaman, warrior, wizard
 
** stat any, armor class, agility, charisma, dexterity, intelligence, stamina, strength, wisdom, vs cold, vs disease, vs fire, vs magic, vs poison, hit points, mana
 
** slot  any, ammo, arms, back, charm, chest, ear, face, feet, fingers, hands, head legs, neck primary, range, secondary, shoulders, waist, wrist
 
** type  any, 1h slashing, 1h blunt, 2h blunt 2h slashing, 2h piercing, alcohol, all effects, armor, arrow, bandages, book, bow, brass instruments, combinable, drink, flowing thought, focus effect, food, haste, jewelry, key, light, martial, misc, note, percussion instrument, piercing, potion, scroll, shield, stringed instrument, throwing, wind instrument
 
** price <low> <high>
 
* <span class="highlight2">[name]</span> is the name or partial name of the item you wish to search for
 
 
 
==Macro Data==
 
 
 
This plugin adds a new TLO which is used for the search results.
 
 
 
<span class="highlight2">${Bazaar}</span> : <span class="highlight">bool</span> - Returns true if there are search results
 
 
 
=== Data types ===
 
 
 
*<span class="highlight2">${Bazaar.Done}</span> : <span class="highlight">bool</span> - Returns true if there are search results
 
*<span class="highlight2">${Bazaar.Count}</span> : <span class="highlight">int</span> - The number of search results
 
*<span class="highlight2">${Bazaar.Item[n]}</span> : <span class="highlight">bazaaritem</span> - Result info by index (1-based)
 
 
 
The bazaaritem DataType has the following members:
 
 
 
*<span class="highlight2">${Bazaar.Item[n].Name}</span> : <span class="highlight">string</span> - Item Name
 
*<span class="highlight2">${Bazaar.Item[n].Trader}</span> : <span class="highlight">spawn</span> - The trader selling it
 
*<span class="highlight2">${Bazaar.Item[n].Price}</span> : <span class="highlight">int</span> - The items price
 
*<span class="highlight2">${Bazaar.Item[n].Quantity}</span> : <span class="highlight">int</span> - The quantity of items that trader has for sale
 
*<span class="highlight2">${Bazaar.Item[n].ItemID}</span> : <span class="highlight">int</span> - The item's ID number
 
*<span class="highlight2">${Bazaar.Item[n].Value}</span> : <span class="highlight">int</span> - Value in the "Stat column" (last column of the search window, eg. save vs fire, int, wis, etc). NOT the value of the Item. Returns 0 if nothing is there.
 
 
 
More information can be found at:
 
*[http://www.macroquest2.com/wiki/index.php/MQ2BzSrch:TLO:Bazaar Bazaar TLO]
 
*[http://www.macroquest2.com/wiki/index.php/MQ2BzSrch:DataType:bazaar bazaar DataType]
 
*[http://www.macroquest2.com/wiki/index.php/MQ2BzSrch:DataType:bazaaritem bazaaritem DataType]
 
 
 
==Example Usage==
 
 
 
* <span class="highlight2">/bzsrch race any class any stat any slot any type any price 0 9999999 sword</span>
 
** Search for any item called "sword" with no other qualifiers
 
* <span class="highlight2">/bzsrch race troll class warrior stat strength slot chest type any price 50000 90000 Plate</span>
 
** Search for any troll warrior usable +strength chest slot items with "Plate" in the name, and a price of 50-90k plat.
 
 
 
==Version History==
 
 
 
*<span class="highlight2">1.1</span> <span class="highlight">''Lax''</span>
 
** Reworked by Lax to work like other MQ2Data plugins.
 
 
 
*<span class="highlight2">1.0a</span> <span class="highlight">''CyberCide''</span>
 
** Updated for MQ2Data by CyberCide
 
 
 
*<span class="highlight2">1.0</span> <span class="highlight">''DKAA'' @ 2003-2004</span>
 
** Original release by DKAA
 
 
 
==Availability==
 
 
 
This plugin is included with the MMOBugs Compile, and its source is available from the MQ2 website.
 

Latest revision as of 04:05, 4 October 2014

Plugin Info
Name MQ2Bzsrch
Author MQ2 Devs
Link MQ2 Wiki Link
Commands /bzsrch
Source Available Yes
Uses INI File No

Description

MQ2Bzsrch allows commandline bazaar searching.

Refer to the official wiki at MQ2Bzsrch Official Wiki for further information.