I've been a mIRC scripter for years, making dialogs, misc type things for friends etc... Yet these two things are boggling my mind, I have 2 questions.
The /break command, how exactly could it be used without a timer or in a while loop?
In the mIRC help file it states: You can use /break to break out of the current loop, and /continue to jump to the beginning of the loop.
My question is this, if you are in a while loop which stalls mirc until it's done, (meaning you can't even type in any text boxes or do anything with mirc until it's finished the loop) how in the world do you type /break to stop the loop? I know of the control break, but I don't want to have to use it.
I need to know this because I'm updateing a file lister dialog script that I have created, one that searches for music files or types of audio files and I want to use a stop button. So far the lister just lists all the files until it's finished the search loop. Since while a loop is in progress you can't even click on any buttons in dialogs or type anything, how would it be possible to break out of the loop without control+break?
Does the /break command actually work?
My next question is: There's a /run command in mirc to run other programs and or files using the programs. So where's the close program command? I have seen this close.dll mentioned in previous posts but was unable to find it. Does anyone know how to use the run command to close a program or know of a way to close a program using mirc?