Обсуждение:Binary flags
You can tell this page was written by Errorage, because it goes on for paragraphs yet tells you nothing useful that actually pertains to SS13 coding.
Someone (maybe me at some point) should edit this with useful examples of how to manipulate flags.