|-
| '''Summary'''
| This function executes a [[Commands|command ]] and returns the result as string. The parameter {{Code|$id}} contains the session id returned by [[Client Module#client:connect|client:connect]]. The {{Code|$command}} argument represents the [[Commands#Basics|a single command string]], which will be executed by the server.
|-
|'''Errors'''