From: wilson@cs.ucf.edu (tom wilson)
Subject: New statsmailer HELP file
Organization: University of Central Florida, Orlando
Date: Thu, 15 Oct 1992 08:37:33 GMT

Many people have been using the statsmailer, but several have had trouble with
the syntax. I'll take the blame for writing a crappy HELP file. I've improved
things some by moving the syntax description down to the command explanations.
However, if you find an explanation confusing, let me know and I'll try to
clarify it for future users.

Someone recently sent me mail with some errors in it. I replied to the mail
and thought I fixed them all. When the program aborted the request, I
accidentally wrote over the request. So whoever you are, please try again.

Tom

-----

To use the statsmailer, send e-mail to "wilson@cs.ucf.edu" with subject
"statsmailer" and a body containing one or more of the following commands.
If you have questions or comments, send e-mail to the same address without
"statsmailer" in the subject. Please do not pass messages to me within a list
of commands since this can mess up the program. Also note spellings of commands
(particularly CALENDAR).

Commands (optional arguments in []):

CALENDAR [team]
DIVISIONS [date]
HELP
REQUEST file[s]
SCHEDULE [team] [date [date]]
SCORES [team] [date [date]]
SCSCORES [team]
SENDTO netaddress
STATS [-a -d<div> -g<t><c># -h -l -m<month> -n# -o -s<sort> -t -w]
STATS2 -c | -o | -g<type> | -r | -s
TEAMS
TEAMSTATS team
TVTSTATS
YEAR 19xx

-----

Descriptions (uses a SPACE not a TAB between words):

CALENDAR [team]
  If no team is specified, returns the complete NHL schedule in calendar
  format. If a team is specified, the team's calendar is returned. The scores
  are included for a team schedule.

DIVISIONS [date]
  Returns the divisional standings through the optional date specified.

HELP
  Returns this file.

REQUEST file[s]
  Returns requested files. Allowable files are:
  scstatsXX-YY   Team playoff stats (XX-YY: 88-89, 89-90, 90-91, 91-92)
  ts.readme      A description of the team stats example (example included)
  ips.c          A program to manipulate ipstats and scipstats
  ips.readme     A description of ips.c
  ipstats        Regular season player stats for 91-92
  scipstats      Playoff player stats for 91-92
  gs.c           A program to manipulate gstats and scgstats
  gs.readme      A description of gs.c
  gstats         Regular season goalie stats for 91-92
  scgstats       Playoff goalie stats for 91-92
  teamgstats     Regular season goalie stats by team for 91-92
  teamscgstats   Playoff goalie stats by team for 91-92
  tbintro        Introduction to the Tampa Bay mailing list (includes a list
                 of mailing list newsletters)

SCHEDULE [team] [date [date]]
  If no team is specified, returns the complete NHL schedule for the date(s)
  specified (if any, otherwise entire season). If a team is specified, the
  team's schedule is returned. The date can either be a specific date, or a
  range of dates. For games already played, the scores are included.

SCORES [team] [date [date]]
  Synonym for SCHEDULE.

SCSCORES [team]
  If no team is specified, returns all Stanley Cup scores. If a team is
  specified, the team's scores are returned.

SENDTO netaddress
  Sends the output of the statsmailer to the specified address instead of to
  the "from" address. This maybe necessary if the return address bounces and
  will avoid manual intervention.

STATS [-a -d<div> -g<t><c># -h -l -m<month> -n# -o -s<sort> -t -w]
  Returns compiled stats based upon options (in any order):
  -a        only away games (can't be used with -h)
  -d<div>   games in division <div> where <div> is one of ANPSWO for Adams,
            Norris, Patrick, Smythe, Within each team's division, and Outside
            each team's division
  -g<t><c># games in which goals are scored as follows: <t>=AF for goals
            against or goals for, <c> is one of < = >, and # is a number.
            Ex: -gF<4 - games in which less than 4 goals are scored for.
  -h        only home games (can't be used with -a)
  -l        games in which each team loses (can't be used with -t -w)
  -m<month> games in month <month> where <month> is one of ONDJFMA for Oct,
            Nov, Dec, Jan, Feb, Mar, Apr
  -n#       last # games (default is all games)
  -o        overtime games
  -s<sort>  sort on <sort> where <sort> is one of Pct, Pts, GP, GF, GA, GFPG,
            GAPG, or +/- (default is Pct)
  -t        games in which each team ties (can't be used with -l -w)
  -w        games in which each team wins (can't be used with -l -t)
  The options can be combined so as to generate some pretty lame stats,
  ex: STATS -h -dP -mO -gF>5 -o -n5 which results in the last 5 overtime home
  games vs. Patrick Division opponents in the month of October in which more
  than 5 goals were scored for!

STATS2 -c | -o | -g<type> | -r | -s
  Returns miscellaneous stats. One option must be present. Multiple options are
  allowed, but are not combined:
  -c       prints current streaks
  -o       prints overall streaks
  -g<type> prints wins, losses, and ties ordered by <type> where <type> is one
           of ADF for goals against, goal differential, and goals for.
  -r       prints goals for and against by wins, losses, and ties
  -s       prints the number of shutouts for and against

TEAMS
  Returns a list of teams for the year with their abbreviations.

TEAMSTATS team
  Returns a collection of stats for the specified team.

TVTSTATS
  Returns team vs. team results in tabular format. Only includes records
  (W-L-T) and total goals (GF-GA).

YEAR 19xx
  Loads the database for the specified year. Must precede other commands.
  xx=88-92 (1992 is the default). Do not omit the 19.

parameter descriptions:

TEAM = one of BOS, BUF, CAL, CHI, DET, EDM, HAR, LA, MIN, MON, NJ, NYI, NYR,
       OTT, PHI, PIT, QUE, SJ, STL, TB, TOR, VAN, WAS, WIN. Use the TEAMS
       command for a list of teams for the year.

DATE = A specific date is specified by month number and day (e.g. 10 15 is
       October 15th). A date range should have two dates. For Stanley Cup
       scores (SCSCORES), the year must be set for the beginning of the
       regular season (e.g. year=90 for the 90-91 SC champion, which occured
       in May of 91).

All commands and parameters are case insensitive except for an e-mail address.
Newsgroups: rec.sport.hockey