Can someone add change it so it sends a message to all players when weather is changed
#pragma region Weather All
case Weather_All:
//call
addOption("Change to EXTRASUNNY"); //1
addOption("Change to CLEAR"); //2
addOption("Change to CLEARING"); //3
addOption("Change to ZOMBIE APOCALYPSE"); //4
addOption("Change to CLOUDS"); //5
addOption("Change to FOGGY"); //6
addOption("Change to OVERCAST"); //7
addOption("Change to RAIN"); //8
addOption("Change to SMOG"); //9
addOption("Change to THUNDER"); //10
addOption("Change to SNOWLIGHT"); //11
addOption("Change to SNOW"); //12
addOption("Change to BLIZZARD"); //13
addOption("Change to XMAS"); //14
switch(getOption())
{
case 1:
setWeather("EXTRASUNNY");
case 2:
setWeather("CLEAR");
case 3:
setWeather("CLEARING");
case 4:
setWeather("NEUTRAL");
case 5:
setWeather("CLOUDS");
case 6:
setWeather("FOGGY");
case 7:
setWeather("OVERCAST");
case 8:
setWeather("RAIN");
case 9:
setWeather("SMOG");
case 10:
setWeather("THUNDER");
case 11:
setWeather("SNOWLIGHT");
case 12:
setWeather("SNOW");
case 13:
setWeather("BLIZZARD");
case 14:
setWeather("XMAS");
}
break;
#pragma endregion
#pragma region Weather All
case Weather_All:
//call
addOption("Change to EXTRASUNNY"); //1
addOption("Change to CLEAR"); //2
addOption("Change to CLEARING"); //3
addOption("Change to ZOMBIE APOCALYPSE"); //4
addOption("Change to CLOUDS"); //5
addOption("Change to FOGGY"); //6
addOption("Change to OVERCAST"); //7
addOption("Change to RAIN"); //8
addOption("Change to SMOG"); //9
addOption("Change to THUNDER"); //10
addOption("Change to SNOWLIGHT"); //11
addOption("Change to SNOW"); //12
addOption("Change to BLIZZARD"); //13
addOption("Change to XMAS"); //14
switch(getOption())
{
case 1:
setWeather("EXTRASUNNY");
case 2:
setWeather("CLEAR");
case 3:
setWeather("CLEARING");
case 4:
setWeather("NEUTRAL");
case 5:
setWeather("CLOUDS");
case 6:
setWeather("FOGGY");
case 7:
setWeather("OVERCAST");
case 8:
setWeather("RAIN");
case 9:
setWeather("SMOG");
case 10:
setWeather("THUNDER");
case 11:
setWeather("SNOWLIGHT");
case 12:
setWeather("SNOW");
case 13:
setWeather("BLIZZARD");
case 14:
setWeather("XMAS");
}
break;
#pragma endregion
#CelestialFTW