def METHOD_NAME():
    optsList = {}
    if gIniFile:
        for cmd in CmdList:
            entry,idx = gIniFile.findByCommand(cmd)
            if entry:
                value = entry.getValue(0)
                if value:
                    try:
                        optsList[cmd] = int(value)
                    except ValueError:
                        optsList[cmd] = value
    return optsList