Code:
if (Cmd[0] == "/weather")
{
byte Weather = 0x1;
if (Cmd[1] == "n")
Weather = 0x1;
if (Cmd[1] == "rain")
Weather = 0x2;
if (Cmd[1] == "snow")
Weather = 0x3;
if (Cmd[1] == "rw")
Weather = 0x4;
if (Cmd[1] == "al")
Weather = 0x5;
if (Cmd[1] == "cb")
Weather = 0x7;
if (Cmd[1] == "cbw")
Weather = 0x8;
if (Cmd[1] == "bc")
Weather = 0x9;
if (Cmd[1] == "atoms")
Weather =0xa;
GC.AddSend(Packets.Weather((Features.WeatherType)Weather, uint.Parse(Cmd[2]), uint.Parse(Cmd[3]), uint.Parse(Cmd[4])));
}