Wave start/stop outputs are defined in the popfile. It is standard practice for popfiles to signal the starting and stopping of waves to the map entity system by firing the trigger input to two named logic_relay entities: "wave_start_relay" and "wave_finished_relay". Simply create these entities and add OnTrigger outputs to them that do whatever you want to happen when a wave starts or ends.