The UserCommand class represents a $UserCommand that is sent to all users by hexhub during login.
Hex.UserCommand() returns a new object of type UserCommand.
For more information about how to create an instance of this object read Hex.UserCommand() section.
The usercommand will be sent as long as this object is valid.
Once the lua garbage collector collects this object it will be automatically unregistered with hexhub.
usrcmd = Hex.UserCommand() usrcmd:SetUserCommandString("$UserCommand ....")