FAKE FBI REPORT /free_rank

FAKE FBI REPORT /free_rank

Postby mah46124 » 01 Dec 2013, 22:05

This is where you do /make (player) free_rank or get the player to do /free_rank and then they get a fake fbi warning :D completely fake XD
Code: Select all
                                             
// Add any other using statements you need up here, of course.
// As a note, MCDzienny is designed for .NET 3.5.
using System;

namespace MCDzienny
{
   public class CmdFree_rank : Command
   {
      // The command's name, in all lowercase.  What you'll be putting behind the slash when using it.
      public override string name { get { return "free_rank"; } }

      // Command's shortcut (please take care not to use an existing one, or you may have issues.
      public override string shortcut { get { return ""; } }

      // Determines which submenu the command displays in under /help.
      public override string type { get { return "other"; } }

      // Determines whether or not this command can be used in a museum.  Block/map altering commands should be made false to avoid errors.
      public override bool museumUsable { get { return false; } }

      // Determines the command's default rank.  Valid values are:
      // LevelPermission.Nobody, LevelPermission.Banned, LevelPermission.Guest
      // LevelPermission.Builder, LevelPermission.AdvBuilder, LevelPermission.Operator, LevelPermission.Admin
      public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }

      // This is where the magic happens, naturally.
      // p is the player object for the player executing the command.  message is everything after the command invocation itself.
      public override void Use(Player p, string message)
      {
         Player.SendMessage(p, "fgdfgdfgidfghifgohjfighdfgidfg %cYour ip $ip has been bactraced and reported to the fbi with the username $name at the time $time and will soon be taking effect!");
      }

      // This one controls what happens when you use /help [commandname].
      public override void Help(Player p)
      {
         Player.SendMessage(p, "/free_rank - GETS U A FREE RANK! XD");
      }
   }
}   
Last edited by mah46124 on 01 Dec 2013, 22:10, edited 1 time in total.
mah46124
 
Posts: 3
Joined: 20 Jun 2013, 00:26

Re: FAKE FBI REPORT /free_rank

Postby lucasds12 » 01 Dec 2013, 22:08

The part of the command says /free_rank, I was guessing it could of been a free rank, but instead it trolls you, this command is not bad. Not bad at all, just need some spelling mistakes to be conquered.
-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: FAKE FBI REPORT /free_rank

Postby Leeizazombie » 01 Dec 2013, 22:13

Not bad for your first command Mah46124! :)
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.


Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 7 guests

cron