Not exactly. You would receive an error message when using /echo because there would be no message to echo. Just move %k down into your else event.