From EngineHub.org Wiki
The MC1018 is a toggle flip flop that toggles its output state between low and high whenever the input (the "clock") changes from high to low
Equivalent Perlstone script:
- Connect two buttons to this IC to have the buttons toggle a door when used.
- Trigger IC on low