the allowing of blocks doesn't work but I can't figure out why
there is no errors but nothing changes when i add something to the allow list do i have to add another argument?
Code:
on break:
if player does not have permission "break.all.block":
if {%event-block%.lol} is not event-block:
cancel event
command /allow [<text>]:
permission: skript.staff
trigger:
if arg-1 is not set:
send "&8correct usage:&7 /allow (block)"
else:
if {%arg-1%.lol} is set:
send "&8%arg-1% &8not set as is already set"
else:
set {%arg-1%.lol} to arg-1
send "&8%arg-1% &8is set" to player
command /delete [<text>]:
permission: skript.staff
trigger:
if arg-1 is not set:
send "&8correct usage:&7 /delete (block)"
else:
if {%arg-1%.lol} is set:
delete {%arg-1%.lol}
else:
send "&8%arg-1% &8not deleted as is not set"