Here is my current auto donation command:
Code:
if (playerCommand.equalsIgnoreCase("redeem")) {
if (System.currentTimeMillis() - c.lastButton < 10000) {
c.lastButton = System.currentTimeMillis();
c.sendMessage("You need to wait 30 seconds to do that agian.");
return;
} else {
c.lastButton = System.currentTimeMillis();
c.Donations();
}
}
Code:
public void Donations() {
MadTurnipConnection.addDonateItems(this,playerName );
}
Can someone edit it so that it thanks the person for donating, and if they didn't donate, it says "You have nothing to redeem"