Hi there,
I am making an administrator script, when you run this command, it will grab permissions from a user. I am using GroupManager.
For example, if you run the command, it will run manucheckp player permission and the second line of the respond contains "This user inherits the permission from" then it will give back a respond "True" if the second line responds "The player doesn't have access to that permission" it will respond "False".
Is this possible? It was a little hard to explain so ill try make it clear.
The responses from /manucheckp (player) (permission) can be:
if it responds like this, I want to say in chat "True"
If it responds like this, I want it to say in chat "False"
Thank you and any help is appreciated.
I am making an administrator script, when you run this command, it will grab permissions from a user. I am using GroupManager.
For example, if you run the command, it will run manucheckp player permission and the second line of the respond contains "This user inherits the permission from" then it will give back a respond "True" if the second line responds "The player doesn't have access to that permission" it will respond "False".
Is this possible? It was a little hard to explain so ill try make it clear.
The responses from /manucheckp (player) (permission) can be:
code_language.skript:
Line1: The user inherits the permission from group: g:owner
Line2: Permission Node: *
code_language.skript:
Line1: The player doesn't have access to that permission
Thank you and any help is appreciated.