/barbie

/barbie

Postby Breakdown901 » 28 Jul 2013, 20:25

Its okay. We all know what your favourite song is. So I made this easier for you to express yourself. :P Just kidding, enjoy!

Code: Select all
using System;
using System.Threading;
namespace MCDzienny
{
   public class CmdBarbie : Command
   {
      
      public override string name { get { return "barbie"; } }
      public override string shortcut { get { return "bar"; } }
      public override string type { get { return "other"; } }
      public override bool museumUsable { get { return false; } }
      public override LevelPermission defaultRank { get { return LevelPermission.Admin; } }
      public override void Use(Player p, string message)
      {
         if (message != "") { Help(p); return; }
         {
         Command.all.Find("moderate").Use(p, "");
            Player.GlobalChat(null, Server.DefaultColor + "Silence, " + p.PublicName + " is trying to sing!", false);
         Thread.Sleep(3000);
         Player.GlobalChat(p, "&fIm a barbie girl, in a barbie world!");
         Thread.Sleep(3000);
         Player.GlobalChat(p, "&fLife is plastic, it's fantastic! ");
         Thread.Sleep(3000);
         Player.GlobalChat(p, "&fYou can comb my hair, undress me anywhere! Imagination, life is your creation!");
         Thread.Sleep(2000);
         Command.all.Find("moderate").Use(p, "");
         
         }
      }

      public override void Help(Player p)
      {
         Player.SendMessage(p, "/barbie - Sing your favourite song!");
      }
   }
}
Owner of:
Breakdown901 Lava Survival/Zombie Survival/Freebuild
Host of NeonGaming Lava Survival.
Breakdown901
 
Posts: 320
Joined: 24 May 2013, 12:54

Re: /barbie

Postby Warren1001 » 28 Jul 2013, 21:12

You shouldn't use GlobalChat, use GlobalMessage
Player.GlobalMessage("Silence, " + p.PublicName + " is trying to sing!"); (no need for server default cuz its already in default.
/e and its "You can comb my hair, and dress me anywhere" last time I checked.
Warren1001
 
Posts: 197
Joined: 08 Aug 2012, 03:50

Re: /barbie

Postby Breakdown901 » 28 Jul 2013, 21:19

Ah, thats a mistake I've made before. Thanks for pointing that out.
Owner of:
Breakdown901 Lava Survival/Zombie Survival/Freebuild
Host of NeonGaming Lava Survival.
Breakdown901
 
Posts: 320
Joined: 24 May 2013, 12:54

Re: /barbie

Postby Clowny » 28 Jul 2013, 21:32

Hahahaha great fun command :lol: "you can comb my hair, undress me anywhere"
Founder Of MC Classic Hosting Community http://mcclassichosting.webs.com
Founder of MC Classic Software MCReborn http://mcreborn.tk
Professional Hoster and Basic C# Coder
Image
User avatar
Clowny
 
Posts: 112
Joined: 14 Jul 2013, 03:53

Re: /barbie

Postby lucasds12 » 02 Aug 2013, 07:56

...? Very weird command but still your coding abilities appear to be developing and keep on pillaring up there Break, less than a month and you'll be a professional Minecraft Classic coder.
-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: /barbie

Postby joppiesaus » 07 Aug 2013, 10:54

Hahaha very weird command. Remembers me to all sorts of random and weird things! I like it! <ok>
joppiesaus
 
Posts: 379
Joined: 20 Aug 2012, 07:28
Location: in a obsedian house, with glass in it so i can see the lava!

Re: /barbie

Postby Breakdown901 » 07 Aug 2013, 11:52

I got this idea from a server I was on AGES ago, which had a command that would put on chat moderation, then would make the prson sing "I love you, you love me..." :)
Owner of:
Breakdown901 Lava Survival/Zombie Survival/Freebuild
Host of NeonGaming Lava Survival.
Breakdown901
 
Posts: 320
Joined: 24 May 2013, 12:54


Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 1 guest

cron