if/else: fix spelling

`event` ~> `even` :smile: 

Thanks for compiling this repo!