kinda messy but use this for donor+
if (playerCommand.startsWith("dice") && c.sit == false) {
if(c.inWild()) {
c.sendMessage("Er, it's not to smart to do this in the Wilderness.");
return;
}
c.sit = false;
if(c.playerRights == 0) {
c.forcedText = "I'm Not A Donor+, So, I Can't Dice!";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
c.sendMessage("You must be a donor or a mod to dice!!!!");
}
if(c.playerRights == 2) {
c.forcedText = "["+ Misc.optimizeText(c.playerName) +"] Just Rolled "+ Misc.random(100) +" On The Dice!";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
c.sendMessage("you roll the dice...");
}
if(c.playerRights == 3) {
c.forcedText = "["+ Misc.optimizeText(c.playerName) +"] Just Rolled "+ Misc.random(100) +" On The Dice!";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
c.sendMessage("you roll the dice...");
}
if(c.playerRights == 1) {
c.forcedText = "["+ Misc.optimizeText(c.playerName) +"] Just Rolled "+ Misc.random(100) +" On The Dice!";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
c.sendMessage("you roll the dice...");
}
if(c.playerRights == 4) {
c.forcedText = "["+ Misc.optimizeText(c.playerName) +"] Just Rolled "+ Misc.random(100) +" On The Dice!";
c.forcedChatUpdateRequired = true;
c.updateRequired = true;
c.sendMessage("you roll the dice...");
}
}