/botspawn

/botspawn

Postby ane200055 » 30 Jul 2013, 15:14

Here's a little helpful and fun command I made.
/botspawn herobrine = spawns Herobrine.
/botspawn notch = spawn Notch.
/botspawn guard = spawns a guard.
^ This does more then just adds the bot^, It also makes the bot do what it would do as if someone programed it.
Shortcut: /bspawn
Code: Select all
//Made by ane200055
//Version v0.1
using System;
using System.Threading;
namespace MCDzienny

{
    public class CmdBotspawn : Command
    {
      public override string name { get { return "botspawn"; } }
      public override string shortcut { get { return "bspawn"; } }
      public override string type { get { return "other"; } }
      public override bool museumUsable { get { return true; } }
      public override LevelPermission defaultRank { get { return LevelPermission.Operator; } }
      public override void Use(Player p, string message)
        {         
          if (message == "")
            {
            Help(p);
            return;
            }
            else if (message == "herobrine")
            {
                  Command.all.Find("botadd").Use(p, "Herobrine");
                  Thread.Sleep(2000);
                  Command.all.Find("botset").Use(p, "Herobrine kill");
              Command.all.Find("botset").Use(p, "Herobrine hunt");
            }
         else if (message == "notch")
         {
                  Command.all.Find("botadd").Use(p, "Notch");
              Command.all.Find("botai").Use(p, "add wait");
              Command.all.Find("botai").Use(p, "add wait");
                  Thread.Sleep(2000);
                  Command.all.Find("botset").Use(p, "Notch wait");
              Command.all.Find("botset").Use(p, "Notch wait");
         }
       else if (message == "guard")
       {
            Command.all.Find("botadd").Use(p, "Guard");
         Thread.Sleep(2000);
         Command.all.Find("botset").Use(p, "Guard hunt");
         Thread.Sleep(1000);
            Command.all.Find("botset").Use(p, "Guard hunt");
      }
       
      }

        public override void Help(Player p)
        {
            Player.SendMessage(p, "%e/botspawn %bherobrine %espawns Herobrine.");
            Player.SendMessage(p, "%e/botspawn %bnotch %espawns Notch.");
            Player.SendMessage(p, "%e/botspawn %bguard %espawns a guard.");
            Player.SendMessage(p, "%eThe also works by doing /bspawn.");
        }
    }
}
Website: http://ane200055.co.vu
The Developer of The XtraIRC IRC Client: http://xtrairc.tk
C# coder.
User avatar
ane200055
 
Posts: 98
Joined: 30 Jun 2013, 09:07
Location: United Kingdom

Re: /botspawn

Postby lucasds12 » 02 Aug 2013, 07:37

Incredible command, may enhance players' experience and assist players that want to spawn these current bots.
-Lucas
There is only one thing I do in life, that's contributing here.
lucasds12
 
Posts: 334
Joined: 17 Apr 2013, 16:17
Location: In the deep caves.

Re: /botspawn

Postby ane200055 » 02 Aug 2013, 14:39

lucasds12 wrote:Incredible command, may enhance players' experience and assist players that want to spawn these current bots.
-Lucas

Thanks Lucas, this can be fun to make fun and games servers, The code to set up Notch may look weird but what it ends up doing is makes Notch randomly walk around.

I have setup game bots myself before but most of the time I find bots annoying to setup but with this command this will make things a whole lot easier. :D
Website: http://ane200055.co.vu
The Developer of The XtraIRC IRC Client: http://xtrairc.tk
C# coder.
User avatar
ane200055
 
Posts: 98
Joined: 30 Jun 2013, 09:07
Location: United Kingdom


Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 9 guests

cron