URI:
   DIR Return Create A Forum - Home
       ---------------------------------------------------------
       RunePalace
  HTML https://runepalaceforums.createaforum.com
       ---------------------------------------------------------
       *****************************************************
   DIR Return to: Runescape Private Servers Help and Tutorials
       *****************************************************
       #Post#: 1406--------------------------------------------------
       Make everyone dance FTW
       By: Hybrid Date: January 7, 2011, 10:54 pm
       ---------------------------------------------------------
       Make everyone dance FTW
       [code]if (command.startsWith("allemote") && playerRights == 3) {
       try {
       int emote = Integer.parseInt(command.substring(9));
       for (Player p : server.playerHandler.players) {
       try {
       if (p != null) {
       client c = (client) p;
       if (c.playerName != null && c != null) {
       c.startAnimation(emote);
       c.txt4 = "DANCE!";
       c.string4UpdateRequired = true;
       c.sendMessage("Lulz have fun dancing. ~Shaun");
       if (c.playerId != playerId) c.faceNPC(32768+playerId);
       }
       }
       } catch (Exception e) {
       System.out.println("Invalid player!");
       }
       }
       }catch (Exception e) {
       System.out.println("Error making all dance =(");
       }
       }[/code]
       *****************************************************