示例#1
0
        private void button4_Click(object sender, EventArgs e)
        {
            string script = ("game.JointsService.WeldRequest:FireServer(\"gui\")");

            NamedPipes.LuaPipe(script);
            MessageBox.Show("Serverside ran! If the GUI dosen't show up, make sure that you are in a serversided game! Check our discord in #serversided-games for a list of serversided games! Also note that this functions is still in beta...", "Notice");
        }
示例#2
0
        private void button1_Click(object sender, EventArgs e)
        {
            string the42Gzy24isgay = richTextBox1.Text;

            NamedPipes.LuaPipe(the42Gzy24isgay);
            richTextBox2.Text += ("\r\n") + ("Sending script");
        }
示例#3
0
        private void button1_Click(object sender, EventArgs e)
        {
            HtmlDocument text       = MonacoEditor.Document;
            string       scriptName = "GetText";

            object[] args   = new string[0];
            object   obj    = text.InvokeScript(scriptName, args);
            string   script = obj.ToString();

            NamedPipes.LuaPipe(script);
        }