code: func ParseEventScript(v string) []EventScript {
  	var filter, script string
  	parts := strings.SplitN(v, "=", 2)
  	if len(parts) == 1 {
  		script = parts[0]
  	} else {
  		filter = parts[0]
  		script = parts[1]
  	}
  
  	filters := ParseEventFilter(filter)
  	results := make([]EventScript, 0, len(filters))
  	for _, filt := range filters {
  		result := EventScript{
  			EventFilter: filt,
  			Script:      script,
  		}
  		results = append(results, result)
  	}
  	return results
  }
docs: // ParseEventScript takes a string in the format of "type=script" and
  // parses it into an EventScript struct, if it can.