Script isn't really necessary. Unless you have some specific requirement that only script can do, get to control variables and select to make your selected variable "MapID". Then in a conditional branch or whatever, say if you want that a specific procedure can only be executed in a specified map, make it so that the variable must equal the map ID you want, then etc etc on the commands of the event.