예제 #1
0
 //send button click event
 private void Send_Click(object sender, EventArgs e)
 {
     if (CmdTextBox.Text.ToLower() == "cmds")         //check if the user send cmds so we can display the commands
     {
         CmdBox.AppendText(Functions.TextToBox[0]);   //Append text to the command richtextbox
         CmdTextBox.Clear();                          //clear the command textbox
     }
     else if (CmdTextBox.Text.ToLower() == "credits") //check if the user send credits so we can display the credits
     {
         CmdBox.AppendText(Functions.TextToBox[1]);   //Append text to the command richtextbox
         CmdTextBox.Clear();                          //clear the command textbox
     }
     else if (CmdTextBox.Text.ToLower() == "clear")
     {
         CmdBox.Clear();
         CmdTextBox.Clear();
     }
     else
     {
         NamedPipes.CommandPipe(CmdTextBox.Text); //command pipe function to send the text in the command textbox
         CmdTextBox.Clear();                      //clear the command textbox
     }
 }
예제 #2
0
 //command richtextbox textchanged event
 private void CmdBox_TextChanged(object sender, EventArgs e)
 {
     CmdBox.SelectionStart = CmdBox.Text.Length; //this get all the text
     CmdBox.ScrollToCaret();                     //so with this we can scroll to the bottom
 }
예제 #3
0
 //send button click event
 private void Send_Click(object sender, EventArgs e)
 {
     if (CmdTextBox.Text.ToLower() == "cmds") //check if the user send cmds so we can display the commands
     {
         CmdBox.AppendText("\n" +             //Append text to the command richtextbox
                           "Commands:\n" +
                           "ff [p]\n" +
                           "heaven [p]\n" +
                           "ghost [p]\n" +
                           "statchange [p] [stat] [#]\n" +
                           "keemstar [p]\n" +
                           "illuminati [p]\n" +
                           "duck [p]\n" +
                           "mlg [p]\n" +
                           "pussy [p]\n" +
                           "fog [#]\n" +
                           "rfog\n" +
                           "rhat [p]\n" +
                           "ws [p] [#]\n" +
                           "sit [p]\n" +
                           "hipheight [p] [#]\n" +
                           "jp [p] [#]\n" +
                           "kill [p]\n" +
                           "drivebloxmoney [p]\n" +
                           "gravity [#]\n" +
                           "btools [p]\n" +
                           "god [p]\n" +
                           "bigfire [p]\n" +
                           "time [#]\n" +
                           "select [p]\n" +
                           "fencingr\n" +
                           "forcechat [p] [blue/red/green]\n" +
                           "charapp [p] [#]\n" +
                           "noob [p]\n" +
                           "fire [p]\n" +
                           "smoke [p]\n" +
                           "sethealth [p] [#]\n" +
                           "addhealth [p] [#]\n" +
                           "sparkles [p]\n" +
                           "criminal\n" +
                           "garage\n" +
                           "bank\n" +
                           "prison\n" +
                           "nodoors\n" +
                           "banklazers\n" +
                           "jewelrycameras\n" +
                           "jewelrylazers\n" +
                           "jewelryflazers\n" +
                           "jewelry\n" +
                           "rickroll\n" +
                           "ppap\n" +
                           "billnye\n" +
                           "illuminati\n" +
                           "rage\n" +
                           "cringe\n" +
                           "clearws\n" +
                           "unanchorall\n" +
                           "Some Commands may not work");
         CmdTextBox.Clear();                          //clear the command textbox
     }
     else if (CmdTextBox.Text.ToLower() == "credits") //check if the user send credits so we can display the credits
     {
         CmdBox.AppendText("\n" +                     //Append text to the command richtextbox
                           "Credits;\n" +
                           "rakion99\n" +
                           "Roblox\n" +
                           "Eternal for RetCheck\n" +
                           "AutisticBobby\n" +
                           "Josh and their slaves Gems and Cosmology");
         CmdTextBox.Clear();//clear the command textbox
     }
     else
     {
         CommandPipe(CmdTextBox.Text); //command pipe function to send the text in the command textbox
         CmdTextBox.Clear();           //clear the command textbox
     }
 }