Hello! I was making InSim which would put 1st place against 16th then 2nd vs 15, 3rd vs 14 etc. and would print it out as a list with buttons. Got stuck in this place cant figure out how to get that ot work. Hope someone could help. I edited this code here so there can be some mistakes but I put it just so you could understand what im talking about. Each place is stored in seperate user file. 
                
            
<?php 
foreach (clsConnection C in Connections)
            {
                
                    byte LocationX = 31;
                    byte ButtonID1 = 10;
                    byte ButtonID2 = 60;
                    byte ButtonID3 = 120;
                    byte ButtonID4 = 180;
                    string[] files = Directory.GetFiles(@"users", "*.txt");
                    if (files.Length < 1)
                    {
                        Console.WriteLine("No files.");
                        InSim.Send_MST_Message("No files.");
                    }
                    foreach (string f in files)
                    {
                        if (f.Substring(6, f.Length - 10) != "")
                        {
                            string name = f.Substring(6, f.Length - 10);
                            byte place;
                            place= Convert.ToByte(FileInfo.GetUserVieta(name));
}
InSim.Send_BTN_CreateButton("^7Name", Flags.ButtonStyles.ISB_C1 | Flags.ButtonStyles.ISB_DARK, 5, 40, 25, 1, 142, C.UniqueID, 40, false);
                        InSim.Send_BTN_CreateButton("", Flags.ButtonStyles.ISB_DARK, 70, 40, 25, 1, 5, C.UniqueID, 40, false);
                        InSim.Send_BTN_CreateButton("^1" + 1stplace  + " ^1vs " + 16thplace, Flags.ButtonStyles.ISB_LEFT, 5, 40, LocationX, 1, ButtonID1, C.UniqueID, 40, false);
LocationX += 5;
                        ButtonID1++;
}
?>