Revive
Code:
    internal class ReviveCommand : Command
    {
        public ReviveCommand() : base("revive", 85) { }
        protected override bool Process(Player player, RealmTime time, string[] args)
        {
            if (string.IsNullOrEmpty(args[0]))
            {
                player.SendHelp("Usage: /revive <accId> <fame>");
                return false;
            }
            player.Manager.Database.DoActionAsync(db =>
            {
                var cmd = db.CreateQuery();
                cmd.CommandText = "UPDATE characters SET dead=0 WHERE accId=@accId AND fame=@base";
                cmd.Parameters.AddWithValue("@base", args[1]);
                cmd.Parameters.AddWithValue("@accId", args[0]);
                if (cmd.ExecuteNonQuery() == 0)
                {
                    player.SendInfo("Could not revive. Make sure you wrote it right.");
                }
                else
                    player.SendInfo("Character Successfully Revived");
            });
            return true;
        }
    }



[SIZE=5]Note! You'll need the /accid command that i've released here;
http://www.mpgh.net/forum/showthread...760&p=11996443

Also. This was made for a specific rank at rank 85. So change this line: public ReviveCommand() : base("revive", "*85*") { }
(The number) To the rank you want it to be at. Remove the "**" i did.


You need an accid and you need to know the base fame on the character that died. Not total fame, but base fame. Just write in /revive <accId> <base-fame>

Press a thanks if you like this command.