How do i call a custom event funtion?

I ended up closing the editor and verifying my installation. Fixed my issue thanks for the suggestions everyone!