I'm trying to make a script that looks for people that use the command /dc. If it finds it, it needs to see if the exact command was /dc viewrecap 0. If it was that then let the player do it, if no then don't let the player run the command. Basically I want people to be able to run /dc viewrecap 0 but not a single other command with /dc.
This is what I have so far, only checking for /dc
This is what I have so far, only checking for /dc
Code:
on command "/dc":
if player doesn't have permission "{@permission}":
message "{@nopermissions}"
cancel event