Just copy this into your aliases file, and then type /ticks -yourcommand to test-
READ THE DIRRECTIONS below, write in your scripts name where I tell you to below, copy and paste this into your script, adjust as needed. I kinda ripped this out of my latest project, so if I didn't wipe all my script's specific material, sorry.
simple aliases for making mirc a little more convient and secure.