URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       LegitScape 711
  HTML https://legitscape711.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Suggestions
       *****************************************************
       #Post#: 353--------------------------------------------------
       New commands 4 staff
       By: Ice Cube Date: June 3, 2012, 4:48 pm
       ---------------------------------------------------------
       Would be cool to have ~freeze (user) and ~tb (user) when you
       want to talk to a person and he starts to run away or tele away,
       a handy cmd to say wut u have to say to ppl :o
       #Post#: 359--------------------------------------------------
       Re: New commands 4 staff
       By: Pixel Date: June 4, 2012, 1:45 am
       ---------------------------------------------------------
       [code]
       if (cmd.length < 2) {
       player.sm("Use: ;;freeze username");
       return false;
       }
       String username = cmd[1].substring(cmd[1].indexOf(" ") + 1);
       Player other = World.getPlayerByDisplayName(username);
       if (other == null)
       return true;
       player.sm("You have froze " +  other.getDisplayName()+".");
       other.getPackets().sendGameMessage("You have been frozen by
       " + player.getDisplayName());
       other.setNextGraphics(new Graphics(369));
       other.addFreezeDelay(300000);
       SerializableFilesManager.savePlayer(other);
       return true;
       }
       if (cmd[0].equalsIgnoreCase("tb"))  {
       if (cmd.length < 2) {
       player.sm("Use: ;;tb username");
       return false;
       }
       String username = cmd[1].substring(cmd[1].indexOf(" ") + 1);
       Player other = World.getPlayerByDisplayName(username);
       if (other == null)
       return true;
       player.sm("You have teleblocked " +
       other.getDisplayName()+".");
       other.getPackets().sendGameMessage("You have been
       teleblocked by " + player.getDisplayName());
       if (other.getTeleBlockDelay() <= Utils
       .currentTimeMillis()) {
       other.setTeleBlockDelay(300000);
       player.setNextGraphics(new Graphics(1841));
       player.setNextAnimation(new Animation(10503));
       other.setNextGraphics(new Graphics(1843));
       World.sendProjectile(player, other, 1842, 18, 18, 50, 50,
       0, 0);
       SerializableFilesManager.savePlayer(other);
       return true;
       }
       }
       
       if (cmd[0].equalsIgnoreCase("unfreeze"))  {
       if (cmd.length < 2) {
       player.sm("Use: ;;unfreeze username");
       return false;
       }
       String username = cmd[1].substring(cmd[1].indexOf(" ") + 1);
       Player other = World.getPlayerByDisplayName(username);
       if (other == null)
       return true;
       player.sm("You unfroze " +  other.getDisplayName()+".");
       other.getPackets().sendGameMessage("You have been unfrozen
       by " + player.getDisplayName());
       other.addFreezeDelay(0);
       SerializableFilesManager.savePlayer(other);
       return true;
       
       }
       if (cmd[0].equalsIgnoreCase("untb"))  {
       if (cmd.length < 2) {
       player.sm("Use: ;;untb username");
       return false;
       }
       String username = cmd[1].substring(cmd[1].indexOf(" ") + 1);
       Player other = World.getPlayerByDisplayName(username);
       if (other == null)
       return true;
       player.sm("You unteleblocked " +
       other.getDisplayName()+".");
       other.getPackets().sendGameMessage("You have been
       unteleblocked by " + player.getDisplayName());
       other.setTeleBlockDelay(0);
       SerializableFilesManager.savePlayer(other);
       return true;
       }[/code]
       :)
       #Post#: 360--------------------------------------------------
       Re: New commands 4 staff
       By: Ice Cube Date: June 4, 2012, 1:43 pm
       ---------------------------------------------------------
       :)
       *****************************************************