示例#1
0
文件: Phantom.cs 项目: edwinr/VPNet
        public override void main()
        {
            Console.WriteLine("Creating new instance, connecting and entering");
            bot = new Instance("VP Bot")
                .Login(VPNetExamples.Username, VPNetExamples.Password)
                .Enter(VPNetExamples.World);

            bot.Say("!bounce");
            bot.Wait(0);
        }
示例#2
0
        public override void main()
        {
            Console.WriteLine("Creating new instance, connecting and entering");
            bot = new Instance("VP Bot")
                .Login(VPNetExamples.Username, VPNetExamples.Password)
                .Enter(VPNetExamples.World);

            Console.WriteLine("Saying hello");
            bot.GoTo();
            bot.Say("Hello world!");
            bot.Wait(1000);
        }