That looks correct although I’m not familiar with the syntax for whatever IRC framework you are using.