[FUNCTION make_weather]
local.map=<dargv[0]> // map, 0
local.region_defname=<argv[1]> // your region name you wish that it rain
local.weather=<argv[2]> // weather like rain, snow or try
local.size=<serv.maplist.<dlocal.map>.sector.size>
FOR 1 <serv.maplist.<dlocal.map>.sector.qty>
local.secx = (<local.size>/2) + ((<local._for> / <serv.maplist.<dlocal.map>.sector.rows>) * <local.size>)
local.secy = (<local.size>/2) + ((<local._for> / <serv.maplist.<dlocal.map>.sector.cols>) * <local.size>)
local.secregion = <SERV.MAP(<dlocal.secx>,<dlocal.secy>,<dlocal.map>).region.defname>
IF (STRMATCH("<local.region_defname>*","<local.secregion>"))
SERV.MAP.<dlocal.map>.SECTOR.<dlocal._for> <local.weather>
ENDIF
ENDFOR