Script Summary: Wizard Function
Version: 1.1.1.2
Copyright: 2009, w35l3y (http://gm.wesley.eti.br/includes)
License: GNU GPL
This script was discontinued!
New version : http://userscripts.org/scripts/show/56503
FOR SCRIPTERS/PROGRAMMERS only
If you aren't either scripter or programmer, you're discouraged to install this script directly.But if you are and intend to use this script, please warn your users to install Mason (Firefox plugin) and follow the steps below (BEFORE INSTALLING section).
BEFORE INSTALLING
- Make sure to install Mason (Firefox plugin) first
- Once installed, right-click on Mason icon in statusbar or go to menu Tools > Mason Option...
- Click "Add..."
- Add:
Description : Shop Wizard URL : ^http:\/\/www\.neopets\.com\/market\.phtml Content-Type : (leave it blank) Function : referrer to specified site Config... : http://www.neopets.com/market.phtml?type=wizard (click "Config..." button to type the value above)
- Click OK
- Make sure to have the new option Activated
- Click OK again
- Then you may install the script
Implementing
// @require http://userscripts.org/scripts/source/54389.user.js // @require http://userscripts.org/scripts/source/53965.user.js // @require http://userscripts.org/scripts/source/54163.user.js
Examples
Wizard.find("plain omelette", function(items)
{
var a = [];
for ( var ai = 0 , at = items.length ; ai < at ; ++ai )
{
a.push([
// items[ai].Link,
items[ai].Owner,
items[ai].Item,
items[ai].Stock,
items[ai].Price
].join("\t"));
}
alert(a.join("\n"));
});


