I'm going to have a preferences section on my program, basicly it will be mostly true or false statements.

My question is, say I have a couple of events with if statements which check to see if certain options are enabled. Later on, someone opens the preferences and changes an option and clicks OK. Is there anyway for me to tell everything to like re-check themselves or will me.update() do that?

I didn't want to put everything in loops cause I'm not sure how much performance that would demand if like 30 loops are running at once checking if certain options are enabled.

Also, if anyone has links to reading and writing .ini files, please post them. I haven't had time to look up any info on them yet so it's not a big deal if you don't, I can probably search for the info.