Jump to content

Search the Community

Showing results for tags 'pibasic'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1 result

  1. Okay... I'm just gonna get right to it. Client class and search for "Welcome to" and beneath that add [CODE]if (voteTimer > 0) { sendMessage("You have already voted, you will have to wait "+voteTimer+" seconds."); } else { sendMessage("Please type ::vote to recieve 5M every 24 hours!"); }[/CODE] same class find process method and add [CODE]if (voteTimer > 0) { voteTimer--; }[/CODE] open player.java and add [CODE]public int voteTimer = 0;[/CODE] now open commands class and add [CODE]f (playerCommand.startsWith("vote")) { if (c.voteTimer == 0) { c.getPA().sendFrame126("www.runelocus.com/toplist", 12000); c.getItems().addItem(995, 5000000); c.sendMessage("Thank you for voting for Rune-Regrets."); c.sendMessage("5M has been added to your inventory."); c.voteTimer = 86400; } else { c.sendMessage("You have already voted today, try again in "+c.voteTimer+" seconds."); } }[/CODE] now open playersave and add [CODE]} else if (token.equals("vote-timer")) { p.voteTimer = Integer.parseInt(token2);[/CODE] and [CODE]characterfile.write("vote-timer = ", 0, 13); characterfile.write(Integer.toString(p.voteTimer), 0, Integer.toString(p.voteTimer).length()); characterfile.newLine();[/CODE] Thanks ;)
×