What u mean, what do you want?
Btw the command u made, what it does is:
Opens the website,
Sends the 2 messages, it doesnt check anything
|
Hello and thank you for taking the time to see my trouble
I need to add a line of code that stops players from using this command within 8 hours
I need a timer and I don't know how to add oneCode:if (playerCommand.equalsIgnoreCase("vote")) { c.getPA().sendFrame126("http://avalon-rsps.webs.com/", 12000); c.votingPoints += 2; c.sendMessage("You vote and are rewarded with 2 points"); c.sendMessage("You have already voted please wait until you can vote again"); }
What u mean, what do you want?
Btw the command u made, what it does is:
Opens the website,
Sends the 2 messages, it doesnt check anything
Code:if (itemId == 15098 && System.currentTimeMillis() - c.diceDelay >= 2500) { //Dice Bag c.forcedChat("I have rolled a " + Misc.random(100) + " on the percentile dice."); c.startAnimation(11900); c.gfx0(2075); c.diceDelay = System.currentTimeMillis(); }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |