I dont want to be the guy in the middle who gets hit with the 'trace', but I think Ch40zzC0d3r was only trying to help - I dont believe he was trying to hurt anyone. He is only learning, just as we all are in many new areas - His advice was only an input, not a command.
Anyway, Couldn't you set it up into a function that holds all the bmaps in one section, the maps in another and so on? I realize you are trying to avoid this for what I would assume to be professional and learning reasons, however...
function calculate_map_settings(){
vote_pan.bmap = vote_panel;
if(vote_ran == 1){vote_panel = <thismap.bmp>;}
}
I stopped before I went to far ahead. I would never want to insult you with this primitive stuff you already know - but this is what I would do.
Cheers.