void HandleCreate(Player p, string[] args, CommandData data) { string prefix = "%dParties> %S"; string noParty = prefix + "You are not in a party."; string nothing = ""; if (!HasExtraPerm(p, data.Rank, 1)) { return; } Team team = Team.GetData(p).Team; if (team != null) { p.Message(prefix + "You need to leave your current party before you can create one."); return; } team = new Team(nothing, p.name); Team.GetData(p).Team = team; Team.Add(team); Team.SaveList(); p.Message(prefix + "%SYou created a party. You can invite people to it via %b/party invite [name]%d."); }