case "!track":
if (FileInfo.IsAdmin(Connections[GetConnIdx(MSO.UCID)].Username) == true)
{
try
{
if (StrMsg.Length > 0)
{
if (StrMsg[1].Contains("-"))
InSim.Send_MTC_MessageToConnection("^1InSim:^7 Unknown Command", MSO.UCID, 0);
else
{
InSim.Send_MST_Message("/msg ^6- ^7Changed the track to ^6- ^7" + (StrMsg[1]));
InSim.Send_MST_Message("/track " + (StrMsg[1]));
}
}
}
catch
{
InSim.Send_MTC_MessageToConnection("^1InSim:^7 Go to race menu!", MSO.UCID, 0);
break;
}
}
else InSim.Send_MTC_MessageToConnection("^1InSim:^7 Command not Authorized!", MSO.UCID, 0);
break;