QUIT activator executes when player leaves the server. This activator is not support additional parameters, but it provides temporary variable %quit-message%, that could be modified. You must modify this temporary variable if you going to change quit message that will sent to other players.
/react add QUIT <ActivatorId>
|%quit-message%||Message that will sent to other players.|