Need help with a user based command

Asked Aug 2, 2020·2 replies·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

i don't know if this is possible, but am wondering if there is a way to create a command that only one user can use. baby explain time : so if i use a command it wont work but lets say the specified uses it it works. hope you all can help :)

2 replies

Yes if you use the eval variable you can.
Example:

$(eval "$(user)"=="NAME_OF_USER"?"RESPONSE":" ")

thanks for the help @Quirky Fox <3 <3