I tried the code to make the rain possible but it didn't work. What did you do to get it to work?
Rain is controlled using the command
.beacon 21;0;0;n,
Where n is the intensity of the rain and has a value between 0 (not raining) and 99 (raining hard).
Insert the command anywhere you what it to rain.