includeNetwork = myconfig["conf_show_network"] debug (("includeMachine %d") % ( includeMachine )) def debug(fmt): if debug == 1: print fmt def initialize (): global debug print "=======================================================================" print ("%s %s %s v%s by %s") % (color, bold, __module_name__ , __module_version__, __module_author__) print "=======================================================================" if not os.path.exists(xchatdir + "/Config-MacInfo.conf"): doUsage("", "", "") else: print color + "Use /machelp for available commands and options." debug = 1 initialize()