|
I believe you can only have one function per event type, so adding multiple handlers for the `public` event wont work.
Just add your if() logic inside one on_public() subroutine and it should be fine.
Also for the -event code, is it supposed to store the number that comes after -event? (edit: nevermind. I see that the -count handler writes the file)
-r
|