Author Topic: Code for ::yell. (:  (Read 458 times)

Hackz

  • Newbie
  • *
  • Posts: 1
    • View Profile
Code for ::yell. (:
« on: December 05, 2010, 12:56:57 am »
if (command.startsWith("yell") && command.length() > 5 && playerRights >= 0) {
String titles = "";
if (playerRights == 0) {
titles = "[Player]-";
}
if (playerRights == 5) {
titles = "[Donater]-";
}
if (playerRights == 1) {
titles = "[Moderator]-";
}
if (playerRights == 2) {
titles = "[Administrator-";
}
if (playerRights == 3) {
titles = "[Co-Owner]-";
}
if (playerName.equalsIgnoreCase("Cjalens")) {
titles = "[The Best Coder/ Owner!]-";
}
if (playerName.equalsIgnoreCase("Hackz")) {
titles = "[L33t Player Of ExileScape]-";
}
yell(titles + "" + playerName + ": "
+ command.substring(5));
}

Share on Bluesky Share on Facebook