$config.set

Manipulates the value of the named parameter.
Syntax
    $config{set}{parameter_name}{parameter_value}
    $config.set{parameter_name}{parameter_value}
DocumentationManipulates the value of the named parameter.

    Parameters:
      set, a flag to indicate that the named parameter is to be manipulated.
      parameter_name, the name of the parameter to be manipulated.
      parameter_value, the new value of the named parameter.
    Throws:
      an java.lang.IllegalArgumentException if the parameter_name is not one of 'encoding.gzip.allow', 'mail.host', 'mail.port', 'session.allow', 'www'.
Examples
Set the parameter 'mail.host':

    $set{host}{www.some_host_name.com}

    if{$contains{$config{list}}{mail.host}} $//Checks if 'mail.host' is a valid parameter name.
      {
      if{$not{$equals{$get{host}}{$config{get}{mail.host}}}} $//Checks if the 'mail.host' parameter value is already the desired.
        {
        $config{set}{mail.host}{$get{host}}
        }
      }
GroupSpecial
Minimum required transaction-mode:UPDATE=CONFIG
Required scripting permission of the developerPERMISSION_FL_ADMINISTRATOR
Minimum parameters2
Maximum parameters 2