Yahoo Fantasy NBA Bench 'Em All

By Trecetratops Last update Dec 4, 2010 — Installed 445 times.

Making it work in non-standard leagues

in
Subscribe to Making it work in non-standard leagues 1 post, 1 voice

Trecetratops Script's Author
Firefox

For those having problems with my script in non-standard leagues, you'll have to adjust (at least) this line according to your needs:

var myLineup = { "PG":1, "SG":1, "G":1, "SF":1, "PF":1, "F":1, "C":2, "Util":2 };

So if you have, for instance, one C and three Util spots, that line should read:

var myLineup = { "PG":1, "SG":1, "G":1, "SF":1, "PF":1, "F":1, "C":1, "Util":3 };

You might have to tweak some more code but should you find on that particular case, feel free to message me.

HTH.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel