Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a command
#1
Runescape Private Servers

To make a comand you have to start with
Code:
"}"

Than you add the rest


Code:
}
if(command.startsWith("zone") && (donator == 1) {
ToX = xxxx
ToY = yyyy
sM("Welcome  "+ playerName + "", 498);
}

explination

if(command.startsWith("zone"));

This is the command

&& (donator == 1) {

that makes it so that only donators can use tele
youy can change to && playername/&&playerrights
and things like that

ToX =
ToY =

These tell the command were to teleport you.

sM("Welcome "+ playerName + "", 498);

when you teleport and arrive at area it will say "Welcome [and ur name]


for extras post and ill add.. im at my friends house on a weird laptop
[Image: donation_drive_sig.png]
[Image: 27y5zlu.png]
The names Simplicity
Reply


Messages In This Thread
How to create a command - by Simplicity - 08-08-2010, 08:17 PM
RE: How to create a command - by Simplicity - 08-12-2010, 04:20 PM
RE: How to create a command - by Simplicity - 08-13-2010, 03:18 PM
RE: How to create a command - by Jake - 10-15-2010, 11:22 AM
RE: How to create a command - by Simplicity - 08-21-2010, 10:25 AM
RE: How to create a command - by Solitary - 09-17-2010, 03:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)