{%
if PwdValid[1] == 0 then
    echo('Set VNC password successfully.')
elseif PwdValid[1] == -1 then
    echo('Incorrect password.')
elseif PwdValid[1] == -2 then
    echo('Confirm password error.')
elseif PwdValid[1] == -3 then
    echo('The VNC password length must be between 1 to 8.\n')
    echo('Failed to set VNC password.')
elseif PwdValid[1] == -4 then
    echo('Failed to set VNC password.\n')
    echo('The password complexity requirements are as follows:\n')
    echo('1) Must contain 8 characters.\n')
    echo('2) Must contain at least one space or one of the following special characters:\n')
    echo('   `~!@#$%%^&*()-_=+\\|[{}];:\'",<.>/?\n')
    echo('3) Must contain at least two types of the following characters:\n')
    echo('   - Lowercase letters:a to z;\n')
    echo('   - Uppercase letters:A to Z;\n')
    echo('   - Digits:0 to 9;')
else
    echo('Failed to set VNC password.')
end
%}