MOVED TO http://1337-servers.proboards.com
Would you like to react to this message? Create an account in a few clicks or log in to continue.

MOVED TO http://1337-servers.proboards.com

The new C41337 website is now up and running!

You are not connected. Please login or register

~~/death~~

Go down  Message [Page 1 of 1]

1~~/death~~ Empty ~~/death~~ Mon Feb 27, 2012 10:33 pm

D12


Guest
Guest

Code:


using System;

namespace MCForge
{
    public class CmdDeath : Command
    {
        //Created By MatthewD12 for use on C41337's server. Hopefully this one has no issues!
        public override string name { get { return "death"; } }
        public override string shortcut { get { return ""; } }
        public override string type { get { return "other"; } }
        public override bool museumUsable { get { return true; } }
        public override LevelPermission defaultRank { get { return LevelPermission.Builder; } }
        public override void Use(Player p, string message)
        {
            if (message == "jump") { Player.GlobalMessage(p.color + p.name + " &bjumped off the side of a building."); Command.all.Find("spawn").Use(p, ""); return; }
            if (message == "stab") { Player.GlobalMessage(p.color + p.name + " &astabbed themself to death."); Command.all.Find("spawn").Use(p, ""); return; }
            if (message == "stare") { Player.GlobalMessage(p.color + p.name + " &cstared into the eyes of &0C41337."); Command.all.Find("spawn").Use(p, ""); return; }
            if (message == "lmao") { Player.GlobalMessage(p.color + p.name + " &dlaughed so hard they died."); Command.all.Find("spawn").Use(p, ""); return; }
            if (message == "server") { Player.GlobalMessage(p.color + p.name + " &2coudln't handle the LEETness of C41337's server."); Command.all.Find("spawn").Use(p, ""); return; }
            if (message == "whitney") { Player.GlobalMessage(p.color + p.name + " &4got blackmailed by Whitney!"); Command.all.Find("spawn").Use(p, ""); return; }
            if (message == "tnt") { Player.GlobalMessage(p.color + p.name + " &6anddd...BOOM GOES THE DYNAMITE!"); Command.all.Find("spawn").Use(p, ""); return; }
            if (message == "std") { Player.GlobalMessage(p.color + p.name + " &8caught and STD from....xD."); Command.all.Find("spawn").Use(p, ""); return; }
        }
        public override void Help(Player p)
        {
            Player.SendMessage(p, "/death [Type] dies if [Type] is specified");
            Player.SendMessage(p, "&aAvalible Types:");
            Player.SendMessage(p, "&bjump, &astab, &cstare, &dlmao, &dserver, &dwhitney, &6tnt, &8std.");
        }
    }
}

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum