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
#2
You need to use a new base, because I can already tell the one you have isnt the best one.
My SMF Modifications:
http://anthony.vibrantvps.com/smf
Reply
#3
(08-09-2010, 09:18 AM)Project Evolution Wrote: You need to use a new base, because I can already tell the one you have isnt the best one.

Better explain yourself. I beg to differ.
[Image: donation_drive_sig.png]
[Image: 27y5zlu.png]
The names Simplicity
Reply
#4
For one, all your commands are dealt with using if statements, and how many commands do you have?
My SMF Modifications:
http://anthony.vibrantvps.com/smf
Reply
#5
(08-12-2010, 11:37 PM)Project Evolution Wrote: For one, all your commands are dealt with using if statements, and how many commands do you have?

This base works mate. I only have like 3-5 commands.
[Image: donation_drive_sig.png]
[Image: 27y5zlu.png]
The names Simplicity
Reply
#6
3-5 is fine, but dont get into the habit of doing so.
My SMF Modifications:
http://anthony.vibrantvps.com/smf
Reply
#7
(08-13-2010, 08:06 PM)Project Evolution Wrote: 3-5 is fine, but dont get into the habit of doing so.

Yes, I know. Smile
[Image: donation_drive_sig.png]
[Image: 27y5zlu.png]
The names Simplicity
Reply
#8
thanks im not to good with this but ill see if it helps.
Like marketing? join www.marketforums.org My user: Weeds
Reply
#9
(08-12-2010, 11:37 PM)Project Evolution Wrote: For one, all your commands are dealt with using if statements, and how many commands do you have?

Yeah, I would have to agree, doesn't seem like that's the best way to go about it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)