Made some more progress in getting this to notify me the way I want. ...and set the 'External sound playing program' in the xchat sound preferences to be the script file....