View Single Post
Old 10-21-2004, 04:13 AM   #15 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
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
idx is offline   Reply With Quote