Includes : Neopets : Shop Wizard [DISCONTINUED]

By w35l3y Last update Jul 29, 2009 — Installed 109 times.


Script Summary: Wizard Function

Version: 1.1.1.2

Copyright: 2009, w35l3y (http://gm.wesley.eti.br/includes)

License: GNU GPL

Thumb

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

  1. Make sure to install Mason (Firefox plugin) first
  2. Once installed, right-click on Mason icon in statusbar or go to menu Tools > Mason Option...
  3. Click "Add..."
  4. 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)
  5. Click OK
  6. Make sure to have the new option Activated
  7. Click OK again
  8. 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"));
});