Script Assistance

Version 1
    This document was generated from CDN thread

    Created by: John Sang on 13-12-2012 04:10:41 PM
    I need to create a script where when a caller dials in depending on the time of day and day of the week it will send the call into a queue.  Any other time it will be sent to a voicemail.  The script also needs to check on certain days to playback a holiday message.  I have'nt touched CCX before so this will be my frist script.  I need to understand what variables to set and how to go about structuring the script.  Thanks in advance.