User Activity

Show an alert with assignment group members when the assignment group changes. Please give me the code for this question.Also explain when to use client script and script include