Experienced Elementalist
Ok so this is the code you need to understand
Basics
Only tested on delta base.
The first line is what you type in to make the command work. Fir instance, in my example i have out helloworld. Which means in game i would type ::helloworld.
Then this is what the command does, here in this example it says hellworld. sM meaning call or say. so in the chat window it would say helloworld
Expanding
Well now you have the code things you can add are teleport co ordinates
Enjoy
Code:
if (command.equalsIgnoreCase("helloworld"))
{
sM("Hello World!");
}
Basics
Only tested on delta base.
The first line is what you type in to make the command work. Fir instance, in my example i have out helloworld. Which means in game i would type ::helloworld.
Code:
if (command.equalsIgnoreCase("helloworld"))
Then this is what the command does, here in this example it says hellworld. sM meaning call or say. so in the chat window it would say helloworld
Code:
sM("Hello World!");
Expanding
Well now you have the code things you can add are teleport co ordinates
Code:
if (command.equalsIgnoreCase("telehere"))
{
sM("You are teleported to enter what you want");
toX = x;
toY = y;
}
Enjoy