From the Scripting Manual
procedure OnMapChange(NewMap: string); Parameter Info: NewMap (String): Name of the new map that has been loaded. Description: This procedure will be called every time the current map on the server changes. Note this event occurs AFTER the map has successfully loaded. NOTE: In 2.6.4, this will be called when the server first starts.