Code:
public static void SaveBan(Character Value, Main.GameClient GC)
{
if (File.Exists(@"C:\OldCODB\Ban\Ban.txt"))
{
string[] AllLines = System.IO.File.ReadAllLines(@"C:\OldCODB\Ban\Ban.txt");
int Ban = AllLines.Length;
for (int x = 0; x < Ban; x++)
{
string[] BanAccount = AllLines[x].Split('#');
string CharID = BanAccount[0];
string Name = BanAccount[1];
if (BanAccount.Contains(GC.MyChar.EntityID.ToString()) && CharID.Contains(GC.MyChar.EntityID.ToString()))
{
}
}
}
}
I am also attempting to work on an unban system from command also, might be easy work for a lot of you guys on here but I am just looking through the source and trial and erroring lol






