Velvety OwlOriginal postAug 15, 2021I have a command that I want most people to use except for a select few.Is there any code I can add so it doesn't trigger when they type !commandWithout using regular only cause you need to add them individually
Bashful GoatAug 16, 2021You can restrict a command based on userlevel, or use regulars to control who does and doesn't have access to commands.
Quirky FoxAug 17, 2021If you want to do it without the use of regulars your best bet would be this:$(eval List=[`User1`,`User2`,`UserX`…];List.includes(`$(user)`.toLowerCase())?`Response`:` `)Put all the usernames in lowercase. If you need any further elaboration please feel free to ask.