Philip,
Thanks for the insight, I will try to do that... Say I am trying to determine the following in an online php game:
User Flags:
No Health Items 1
No Items 2
Weapons Stay 4
No Falling Damage 8
Instant Powerups 16
Same Level 32
Repawn Player Farthest 512
Force Player Respawn 1024
No Armor 2048
Any combination of these can be on or off, so you would just add up the the ones that are on and get the resultant number: say Everything is on, you would get the number 3647. I was wondering if there is an elegant way of determining the true or false value of each of those items by using bitwise / boolean math on the resultant 3647, as I believe you can do in C. I am not very good with boolean or bitwise math yet and am trying to learn.
Thanks again, everyone.
Joe