I'm wondering how to check if some argument is some group using PermissionsEX plugin.
I tried : if arg 1 group is "Member": and also if group of arg 1 is "Member:
With the first I'm getting Can't compare... error and with the second Can't understand this condition.
So, where is my fault?
Code:
what if I want to do it with a group like "Owner"?
I tried : if arg 1 group is "Member": and also if group of arg 1 is "Member:
With the first I'm getting Can't compare... error and with the second Can't understand this condition.
So, where is my fault?
Code:
code_language.skript:
on chat:
if player has permission "message.owner":
if {Class::%player%} is set:
cancel event
broadcast "&8[&7Lvl %{Level::%player%}%&8] &8[&7%{Class::%player%}%&8] [&6Owner&8] &7%player% &8» &f%message%"
stop
else:
cancel event
broadcast "&8[&7Lvl %{Level::%player%}%&8] [&6Owner&8] &7%player% &8» &f%message%"
stop
what if I want to do it with a group like "Owner"?
Last edited: