- 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.");
}
}
}
MOVED TO http://1337-servers.proboards.com