Are those acl commands? If so I’m pretty sure you can configure one of the .lua files to default those values so you don’t have to re-enter them every time.
Note that the command you want to run MUST be either RCON compatible or be registered using this method:
RegisterCommand("<commandName>", function()
-- command code here
end)
ExecuteCommand() (and RegisterCommand()) can be used with server side scripts as well as with client side scripts. Do note however that the command you want to run must be registered on the same side.
TL;DR: Don’t cross use ExecuteCommand and RegisterCommand between server/client scripts.