How do i make a system, which is giving gold, when a special command has been typed?
The command should be: -gg <playernumber> <amount of gold>, like: -gg 1 2954 and -gg 12 395838
The part i ain't got a clue on how to solve is creating two substrings, the playername and the amount of gold?
Hope someone got a solution at this.
EDIT: Think i solved the problem. Just creating an extra if/then/else, to run if playernumber is 10 or above.
The command should be: -gg <playernumber> <amount of gold>, like: -gg 1 2954 and -gg 12 395838
The part i ain't got a clue on how to solve is creating two substrings, the playername and the amount of gold?
Hope someone got a solution at this.
EDIT: Think i solved the problem. Just creating an extra if/then/else, to run if playernumber is 10 or above.