Making it work in non-standard leagues
![]() |
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. |
