these are just a few codes you can add to commands.java
Code:
if (playerCommand.equals("forums")) {
c.getPA().sendFrame126("your forum", 12000);
c.sendMessage("Welcome! Please register!!");
}
Code:
if (playerCommand.startsWith("rules")){
c.sendMessage("<shad=60811334> <img=1> your Rules <img=1>");
c.sendMessage(" No asking for mod or Admin");
c.sendMessage(" No Farcasting");
c.sendMessage(" No Pjing");
c.sendMessage(" No Scamming");
c.sendMessage(" No exloiting bugs");
c.sendMessage(" We will warn you then ban");
}
Code:
if (playerCommand.startsWith("commands")){
c.sendMessage("<shad=60811334> <img=1> your Commands Available <img=1>");
c.sendMessage(" ::shops to go to our awesome shops!");
c.sendMessage(" ::master gives you 99 all combat skills!");
c.sendMessage(" ::pure gives you max pure! ");
c.sendMessage(" ::ep to see your EP");
c.sendMessage(" ::changepassword *newpasswordhere* changes your password");
c.sendMessage(" ::resetdef gives you 1 defence");
c.sendMessage(" ::players you can see all players online!");
c.sendMessage(" ::rest so you can sit down");
c.sendMessage(" ::forums to check out our sweet forums!");
c.sendMessage(" ::rules to see our rules!");
}
Code:
if (playerCommand.startsWith("shops") && c.teleBlockLength == 0) {
c.getPA().startTeleport(xxxx, xxxx, 0, "modern");
c.sendMessage("You teleport to the shops.");
}
change the xxxx to your coords
Make sure your site has www before
thats all i have for now hope this helps!