Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Yahoo Fantasy Football Free Stats Calculator
Live and free yahoo fantasy football scoring!
Based on script at: http://userscripts.org/scripts/show/6486
Changes include:
-Hide bench players
-Convert to fantasy points
-Show total fantasy points for team
Limitations are:
-No distance bonuses for field goals
-No points for defenses
To tweak the settings for your league. Open
the "Manage User Script" screen.
Click on the edit button and select a text editor. In the script, modify
the following parameters according to your league settings.
PPComp = Points per completion
PPRec = Points per reception
PPPassYd = Points per passing yard
PPRushYd = Points per rushing yard
PPRecYd = Points per receiving yard
PPPassTd = Points per passing touchdown
PPRushTd = Points per rushin touchdown
PPRecTd = Points per receiving touchdown
PPInt = Points per interception
PPFumb = Points per fumble lost
|
|
Is this going to be updated for the new season? |
|
|
can someone please make a script that will do this for the yahoo salary cap game? dammit why wont someone make this..i can't be the only person on the planet that hates not having any idea how i did in salary cap until 5 in the morning |
|
|
works great! glad someone made the update to actually tally the points. now someone just needs to figure out that defensive scoring :) |
|
|
To get rid of decimal scoring, you will need to add Math.floor function around each stat where I'm calculating fantasy points. For example, on line 135, you'll need to change:
and repeat for each stat category that's being added up. Repeat for the other lines (151, 162) where fantasy points calculation are taking place. |
|
|
Another suggestion is to remove the decimal scoring. Every league I have played in, you only get points once a benchmark is reached. For example a QB gets 1 point for every 50 yards. If he has 75 yds passing, he would get 1 point, not 1.5. Since I don't know the programming, I cannot make the suggestion of how to fix it. Thanks anyway for the excellent script. |
|
|
awesome script. One improvement though: Fumbles tend to be shown twice by Yahoo (once in rushing and once in receiving) if a player has both rushes and receptions. This shouldn't be counted twice in your script. Also, the script doesn't seem to count QB fumbles when the QB doesn't have any rushing attempts. |
You could comment on this script if you were logged in.
