The scripts is made to block even op players from using certain commands
So nothing below creates errors and the top part (/setspecial) works perfectly, but for some reason the bottom part of the script doesn't stop people who don't have the special permission from using manuadd.
Any idea why this isn't working for me?
So nothing below creates errors and the top part (/setspecial) works perfectly, but for some reason the bottom part of the script doesn't stop people who don't have the special permission from using manuadd.
Any idea why this isn't working for me?
Code:
command /setspecial [<offline player>]:
trigger:
if name of player is "N9cklas" or "mikkel20088":
if {special.%arg 1%} is true:
set {special.%arg 1%} to false
send "&7Du har &agivet &c%arg 1% &7 adgang til special commands" to player
else:
set {special.%arg 1%} to true
send "&7Du har &cfjernet &7adgang til special commands fra &c%arg 1%" to player
on command "/manuadd":
if player is op:
if {special.player} is false:
cancel event
send "&cGlem det"
stop
if player has permission "*":
if {special.player} is false:
cancel event
send "&cGlem det"
stop