Implement /mod and ,/mod commands