I have a script that blocks users from using certain commands (don't question my ways):
etc etc
Let it be known that I know nothing about Skript, is it possible to make this more efficient?
Something like:
but that will actually work.
Code:
on command "/command1":
if player doesn't have permission "{@permission}":
message "{@nopermissions}"
cancel event
on command "/command2":
if player doesn't have permission "{@permission}":
message "{@nopermissions}"
cancel event
on command "/command3":
if player doesn't have permission "{@permission}":
message "{@nopermissions}"
cancel event
on command "/command4":
if player doesn't have permission "{@permission}":
message "{@nopermissions}"
cancel event
Let it be known that I know nothing about Skript, is it possible to make this more efficient?
Something like:
Code:
on command "/command1" or "/command2" or "/command3" or "/command4":
if player doesn't have permission "{@permission}":
message "{@nopermissions}"
cancel event