/creepypasta v.1

/creepypasta v.1

Postby Alshima » 02 Jun 2013, 22:43

Code: Select all
using System;

namespace MCDzienny
{
  public class CmdCreepypasta : Command
  {
    public override string name { get { return "creepypasta"; } }
    public override string shortcut { get { return ""; } }
    public override string type { get { return "other"; } }
    public override bool museumUsable { get { return false; } }
    public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }
     
    public override void Use(Player p, string message)
    {
      Player.GlobalMessage(p.color + p.name + Server.DefaultColor + " has spawned in a Creepypasta!");
    }
      public override void Help(Player p)
    {
      Player.SendMessage(p, "/creepypasta - spawns in a creepypasta!");
    }
  }
}


Well this is my first command for the MCDzienny Software which says a global message around that says "[PlayerName] has spawned in a Creepypasta!". I hope you enjoy this random command and I will soon be updating the command. I got this format from the /meow command which I give credit to.

ENJOY :D
Alshima
 
Posts: 160
Joined: 11 Mar 2013, 02:22
Location: Alshima Island

Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 3 guests

cron