Greetings!
So I got the Plugin "BetterTeams" and I wanted to create a command that only a specific team is allowed to use. Since they do not have any type of permission-by-team system, I thought about doing it with Skript, but somehow it always tells me that I have no permission, even when I am on the "TDU" Team. Does anyone knows why?
So I got the Plugin "BetterTeams" and I wanted to create a command that only a specific team is allowed to use. Since they do not have any type of permission-by-team system, I thought about doing it with Skript, but somehow it always tells me that I have no permission, even when I am on the "TDU" Team. Does anyone knows why?
Code:
command /recruit <player>:
trigger:
if {betterteams_name::%player%} is "TDU":
execute console command "teamadmin join %arg-1% RECRUIT"
teleport arg-1 to location at -213, -2, -43 in world("world")
send "&a%arg-1% has been added as Recruit!" to player
send "&aYou have been recruited!" to arg-1
else:
send "&cNo permission!" to player