What your looking for is RE or Remote Execution. Since i started posting on this board, I've tried not to post scripts containing RE, purely to try and prolong the time before its detected.
Despite this, servers are logging the command required to RE so everything you pass to a player remotely can be logged, at least with the well known RE.