Maks, Thanks a lot, this is exactly what I needed. Is there a way to execute this script automatically every time step?
Golly displays in the status bar the total number of cells in a non-zero states (called "population") . I am experimenting with some three state rules, and I would like to know how many cells are in sate 1 and in state 2. Is it possible to display these numbers in the status bar, with lua scripting or otherwise?