public void Rules(ChatCommandContext ctx) { string toAdd = GameModes.GetGameModesInfo(); if (toAdd.Length > 0) { ctx.SendLocalMessage(Lang["activatedGameModes"] + "\n" + toAdd); } }
public override bool Execute(string[] args) { string toAdd = GameModes.GetGameModesInfo(); if (toAdd.Length > 0) { UI.Chat.Add(Lang["activatedGameModes"] + "\n" + toAdd); } return(true); }