I have written a script that will allow for storage of up to 6 lineups (3 vs LHP, 3 vs RHP). The script works in original lineup interface (the one that does not support depth charts). To use:
1. Go to the Lineups page and edit a lineup.
2. A new drop down box and “Save to slot” button will appear below the interface.
3. In the drop down, choose a slot and then click ‘Save to Slot’.
4. You will be prompted to enter a lineup name. Add a name and then click “Ok” and the lineup currently being used will be saved to the slot that was chosen in Step 2.
PLEASE NOTE: If you have made any lineup changes while in the ‘Edit lineups’ page you will need to save the lineup (with the SAVE YOUR LINEUP button) before “saving to a slot”. If you haven’t saved your lineup changes, the lineup that was originally loaded when you visited the lineup editor page will be “saved to a slot” rather than the lineup that you tinkered with.
5. To load a lineup just click the load button and the page will refresh and you’ll see the new lineup showing in the editor. Click the SAVE YOUR LINEUP button for the lineup to take effect for that nights games.
EVERYDAY LINEUPS
On the Front Office page I added a table (below the Injury Report area) which will show a list of “bench” players in the current lineups. I added this table for situations where one might have forgotten to put their starters back in the lineup after they have been injured. Lineups that are stored in “Slot 1″ will be considered the everyday lineups. If a player is listed in the current lineup but is not found in the “slot 1″ lineup that player will appear in the “bench” players table:

TRADES AND ROSTER MOVES
There will be situations where players stored in lineup slots may no longer be on the roster. If this occurs, “Player not on roster” will appear under the name column. If you try to load such a lineup with a player that is missing from the roster the page will just reload the original lineup with no changes made:

I hope you enjoy! The script was written for leagues with the DH rule in effect.
Sign up and start a new team and then download the script here:
http://userscripts.org/scripts/show/81426
{ 1 comment }











