What is the enhancement in mind? How should it look and feel?
I'll try to explain this as best as I can:
Let's say you have a command. If you put, say, ^ before the /, it would be an IF statement. If this command is able to be executed, and it returns something like, "You cannot do this!", or "You could not be put into this team!", it would be 'false'. A command that returns 'false' makes the command sign unable to continue running the commands after the IF statement, because it returned false.
If it were to return something like "You executed this command!", or "You were put into this team!", it would be 'true'. A command that returns 'true' enables the command sign to continue the next commands until finished.
The one thing I want for this is factions support. I need it to check if a player is put into a faction, and if they are, it continues to the teleport commands.
Please provide any additional information below.
Please try to add something like this relatively soon. It's vital for my server to function.
I see, so it's like a exception throw. I don't know if commands can return an error level to the plugin (usually its 0 for success and non-zero for errors), but if they can with what we use, then I'll make this.
It's a definite maybe.
I'll implement this if people vote favourably for using a full language processor (see poll)
To post a comment, please
or register a new account.