/ragequit

/ragequit

Postby Clowny » 19 Jul 2013, 17:46

This a very simple command yet a cool, fun one. When you're mad and just wanna leave do it with style and RAGEQUIT!!
Code: Select all
//Created by Clowny
using System;

namespace MCDzienny
{
    public class Cmdragequit : Command
    {
        public override string name { get { return "ragequit"; } }

        public override string shortcut { get { return "rq"; } }

        public override string type { get { return "other"; } }

        public override bool museumUsable { get { return true; } }

        public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }

        public override void Use(Player p, string message)
        {
            p.Kick("&cRAGEQUIT!!&e");
        }

        public override void Help(Player p)
        {
            Player.SendMessage(p, "/ragequit - Unleash rage and leave.");
        }
    }
}
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: /ragequit

Postby lucasds12 » 19 Jul 2013, 19:09

Awesome! Definitely is a good command and a trolling command, this was originally going to be added by me a long time ago but it did unfortunately not compile. I'm immediately going to test it!
-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: /ragequit

Postby Breakdown901 » 19 Jul 2013, 19:49

I'd remove all the spaces inbetween
Code: Select all
public override string name { get { return "ragequit"; } }

        public override string shortcut { get { return "rq"; } }

        public override string type { get { return "other"; } }

        public override bool museumUsable { get { return true; } }

        public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }

        public override void Use(Player p, string message)


It doesnt in this case, but it could cause compiler errors in more advanced commands you make in the future. Apart from that, well done :)
Owner of:
Breakdown901 Lava Survival/Zombie Survival/Freebuild
Host of NeonGaming Lava Survival.
Breakdown901
 
Posts: 320
Joined: 24 May 2013, 12:54

Re: /ragequit

Postby Clowny » 20 Jul 2013, 01:34

yeah I know I usually delete the spaces I just didn't bother to this time since it didn't cause any errors
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


Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 3 guests

cron