You don't have to wait 5 seconds to check if the nick is an op. You can usually check that after a second.

I use a generic 3 second timer that makes sure the nick is still on the channel before performing any commands.