Really good for a first script here. However, there's a little niggle that bugs me in the code:
//echo
You can simply use
echo
instead. It's just that you have notice on its own and then echo with //. Just looks inconsistent imo.
Other than that good job.