Xdragon
June 20th, 2010, 15:19
For the first time i made this.
I never have seen a command like this so im gonna do it on runelocus.
Add this at your commands list:
if(command.startsWith("zone") && (donator == 1) {
triggerTele(xxxx, yyyy, 0);
brightness = 4;
talk("Welcome to The Donator City "+ playerName + "", 498);
}
If u want Explanation check my other thread : Click here for it! (Only the registered members can see the link.)
Here im Gonna Explain 1 thing :
talk("Welcome to The Donator City "+ playerName + "", 498);
It means that a npc talks to you like vannaka change the 498 to Every npc code u want
U can also make it like this :
if(command.startsWith("zone") && (donator == 1) {
triggerTele(xxxx, yyyy, 0);
brightness = 4;
sM("Welcome to The Donator City "+ playerName + "");
}
Than it show a a Message Or you just can make it like this :
if(command.startsWith("zone") && (donator == 1) {
triggerTele(xxxx, yyyy, 0);
brightness = 4;
yell(""+ playerName + " is now in Donator City");
}
Than everybody knows u did the command
Credits
50% me
50% Delta
( I hope its the good % :) )
I never have seen a command like this so im gonna do it on runelocus.
Add this at your commands list:
if(command.startsWith("zone") && (donator == 1) {
triggerTele(xxxx, yyyy, 0);
brightness = 4;
talk("Welcome to The Donator City "+ playerName + "", 498);
}
If u want Explanation check my other thread : Click here for it! (Only the registered members can see the link.)
Here im Gonna Explain 1 thing :
talk("Welcome to The Donator City "+ playerName + "", 498);
It means that a npc talks to you like vannaka change the 498 to Every npc code u want
U can also make it like this :
if(command.startsWith("zone") && (donator == 1) {
triggerTele(xxxx, yyyy, 0);
brightness = 4;
sM("Welcome to The Donator City "+ playerName + "");
}
Than it show a a Message Or you just can make it like this :
if(command.startsWith("zone") && (donator == 1) {
triggerTele(xxxx, yyyy, 0);
brightness = 4;
yell(""+ playerName + " is now in Donator City");
}
Than everybody knows u did the command
Credits
50% me
50% Delta
( I hope its the good % :) )