Obviously, to do this you need to create a script that will do what you want.
To get started, try reading/studying the help documentation:
https://www.mirc.com/help/html/index.html?remote.htmlIn addition, something similar using a timer has already been discussed in the next forum thread:
#Post272454If after reading the information in the links you still have difficulties creating a script or it is not exactly what you want to do, then try to describe your idea in more detail, as well as provide text examples/screenshots/handwritten drawing/scheme on a sheet of paper or something else, so that we understand exactly what you want to do.