Basics of AppleScript

Beep

Script [1.3.1]: beep

Explanation: A beep sound will be played. The beep sound can be changed in System Preferences.

Script [1.3.2]: beep 10

Explanation: Beep sound will be played 10 times.