ACT-R 4.0 is not the current version of the ACT-R system. It was last updated on March 1, 1999.
The current ACT-R software is available from the Software page.
The ACT-R 4.0 software along with examples and the reference manual are available in this zip file.
The ACT-R 4.0 manual is available separately as a pdf.
The scripting extension for ACT-R 4.0 is a set of tools for creating experiments for models to perform. The source code along with a manual are available in this zip file.