/hackerkick

/hackerkick

Postby Lmfao » 17 Jul 2013, 15:26

Code: Select all
using System;
using System.Threading;

namespace MCDzienny
{
    public class Cmdhackerkick : Command
    {
        public override string name { get { return "hackerkick"; } }
        public override string shortcut { get { return "hk"; } }
        public override string type { get { return "mod"; } }
        public override bool museumUsable { get { return false; } }
        public override LevelPermission defaultRank { get { return LevelPermission.Operator; } }
        public override void Use(Player p, string message)
        {
            if (String.IsNullOrEmpty(message) || message.IndexOf(' ') != -1) { Help(p); return; }

            Player who = Player.Find(message);

            if (who == null)
            {
                Player.SendMessage(p, "Player could not be found.");
                return;
            }
            {
                Player.GlobalMessage("&cHacker Detected!!! --->" + " " + who.color + who.PublicName + "&c");
                Command.all.Find("spawn").Use(who, "");
                Command.all.Find("freeze").Use(p, who.PublicName);
                Player.SendMessage(who, "&cyou should not of hacked into the zombie server, now you will be kicked");
                Thread.Sleep(3000);
                Command.all.Find("kick").Use(p, who.PublicName);



            }
        }
        public override void Help(Player p)
        {
            Player.SendMessage(p, "/hakerkick - kicks the person who hacked into server");
        }
    }
}
User avatar
Lmfao
 
Posts: 11
Joined: 16 Jul 2013, 23:07

Re: /hackerkick

Postby Lmfao » 17 Jul 2013, 15:28

this command is for zombie servers
User avatar
Lmfao
 
Posts: 11
Joined: 16 Jul 2013, 23:07

Re: /hackerkick

Postby Breakdown901 » 17 Jul 2013, 15:39

This is basically a copy and paste of LeeizAZombie's /kickgriefer. Also, you took /fart from me. So stop copying and pasting other peoples work.
Owner of:
Breakdown901 Lava Survival/Zombie Survival/Freebuild
Host of NeonGaming Lava Survival.
Breakdown901
 
Posts: 320
Joined: 24 May 2013, 12:54

Re: /hackerkick

Postby Lmfao » 17 Jul 2013, 15:43

sorry im a noob XD
User avatar
Lmfao
 
Posts: 11
Joined: 16 Jul 2013, 23:07

Re: /hackerkick

Postby Lmfao » 17 Jul 2013, 15:44

i just modifed this command
User avatar
Lmfao
 
Posts: 11
Joined: 16 Jul 2013, 23:07

Re: /hackerkick

Postby joppiesaus » 17 Jul 2013, 16:19

Lmfao wrote:i just modifed this command

I suggest you learn to code instead of just copy and pasting and then modifying someone else's work.
There's nothing bad for being a noob, but stealing someones work is not OK.
This is not good for your reputation at this forum.
joppiesaus
 
Posts: 379
Joined: 20 Aug 2012, 07:28
Location: in a obsedian house, with glass in it so i can see the lava!

Re: /hackerkick

Postby Clowny » 17 Jul 2013, 17:56

Indeed.. I don't think you even bothered to at least ask for permission before using someone else's work
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: /hackerkick

Postby Leeizazombie » 18 Jul 2013, 01:34

oh wow
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: /hackerkick

Postby kallentyyppi » 04 Aug 2013, 22:02

Ik its hard to code .. im not good coder just simple codes but i dont steal anyone other work (if i do that first ask to her/him and put his/her name somewhere to text) i didnt said that you dunno how to code but looks like you doesnt
Host of server which is'nt port forwarded
-------------------------------------------------------------------------------------------------------------------------
kallentyyppi
 
Posts: 6
Joined: 04 Aug 2013, 21:17


Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 3 guests