For those of you familiar with the script, it has been updated to include NHL teams.  I will implement NBA within a week or two.
For those of you unfamiliar with the script, basically it extracts team rosters real time off of espn.com and for each player will generate the following options:
d88   Eric Lindros
pd88   center Eric Lindros
td88   Dallas Stars Eric Lindros
tpd88   Dallas Stars center Eric Lindros
d88n   Eric Lindros (88)
pd88n   center Eric Lindros (88)
td88n   Dallas Stars Eric Lindros (88)
tpd88n   Dallas Stars center Eric Lindros (88)
where "d" is the team code you specify.  In this example I used 'd' for Dallas, however, I could have used 'dal' or 's' for Stars, etc.  The 't' code will cause the team name to be included.  The 'p' code will cause the player's position to be inserted and the 'n' code causes the player's jersey number to be appended to his name.  You have the option of including the jersey number either in the format shown above using parentheses or with a pound sign, i.e. #88.
Url is: 
http://stopactionsports.com/extract.php