in reply to First Script

Welcome to the Monastery adilord.

Your question sounds like homework. Why not post the code you've tried so far (surrounded by <code>...</code> tags, and the Monks will be sure to help you.