@if@[@readfile@[(name of text file).txt]||@user@||!successcommand||!failcommand]
You can also just whisper the user that the command isn't ready or they arent the person in the text file by replacing "!failcommand" (or whatever the failcommand you have is called) with /w @user@ You aren't on the list! Full example below.
@if@[@readfile@[supercoolguys.txt]||@user@||!successcommand||/w @user@ You aren't cool enough for this command!]
The issue however is that there isn't a way to search a @savelog@. So if you had a command that added people to a @savelog@ text file you wouldn't be able to search to see if they are within the file. There's no search function.
To remedy this you can have a command that makes a new txt file per user (Yeah, lots of text files...) and put in in a new folder. So in custom logs make a "coolguyslist" folder and then make the command below.
@savefile@[coolguylist/@user@.txt,@user@]
That makes a text file with the users name and checks to see if their name is inside it. From there you can run the @if@ command to check permissions.