How can I raise a message/alert box for a technician that is a member of a group and they are using 'YY' template (below is not even close to right..lol) :
var x=$CS.getLoggedInUserName(); (AND GROUP NAME IN *BLAH" or "BLAH2")
alert("PLEASE DO NOT USE THIS. This (Default Request) template is used exclusively for tickets created by email. Please choose the correct Template from the 'Template' drop down in the upper right corner of this screen.");
So if the logged in user is part of group 'ABC' and he tries to use the 'YY' template the message box displays to advise him to use a different template.