
StreamReader sr = new StreamReader("YourFile.txt")



if (MSO.UserType == UserType.MSO_PREFIX) {
    var Conn = Connections[GetConnIdx(MSO.UCID)];
    string Text = MSO.Msg.Substring(MSO.TextStart, (MSO.Msg.Length - MSO.TextStart));
    string[] command = Text.Split(' ');
    command[0] = command[0].ToLower();
    switch(command[0]) {
    case "!kick":
    {
       string Username = Text.Remove(0, command[0].Length + command[1].Length + 2);
       insim.Send("^1----------Kick----------");
       insim.Send(Conn.Playername + " ^8(" + command[0] + ") ^1was kicked!");
       insim.Send("^1Reason: " + command[1]);
       insim.Send("^1------------------------");
    }
    break; }}
Output: ----------Kick----------
        Ali (ab12) was kicked!
        Reason: is
        ------------------------




                  switch(Stage)
                        {
                            case 1:
                                if(Msg1 != "")
                                {
                                    insim.Send("/msg " + Msg1);
                                    Stage += 1;
                                }
                                else //if Msg1 is null, send message 2
                                    insim.Send("/msg " + Msg2);
                                    Stage += 1;
                                
                                break;
                                
                            case 2:
                                if(Msg2 != "")
                                {
                                    insim.Send("/msg " + Msg2);
                                    Stage += 1;
                                }
                                break;
                                
                            case 3:
                                if(Msg3 != "")
                                {
                                    insim.Send("/msg " + Msg3);
                                    Stage = 1;
                                }
                                break;
                        }
