Announcement

Collapse
No announcement yet.

Tom's PPV script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Tom's PPV script

    I am trying to modify Tom's PPV script to announce all upcoming PPV releases in the format of DATE, TITLE. For example:

    March 17, 2004 Rocky

    As it is now, it announces the date, but like this:

    3/17/04.

    Here is the code:

    showdate = hs.stringitem(showdate,2,",") & " " & year(date)
    if CDate(showdate) >0 then '= CDate(DATE) then
    system.speak "Premiering " & CDate(showdate) & " on Pay Per View, " & showname
    end if
    hs.waitevents
    Loop

    #2
    You can use something like this:
    showdata = "5/22/2004"
    strMonthNum = month(showdate)
    strMonthName = MonthName(strMonthNum)
    This will give you the month name like march. You can go from there.

    -Rupp
    -Rupp
    sigpic

    Comment

    Working...
    X