I just need some scripting help because I'm like totally lost.
On the official website of mIRC there is a FAQ which explains the basic scripting the application is using. Visit the website and read through the various commands you can use to create scripts.