Hey Everyone!!
I've written a mIRC script so that a bot will sit in a room and run executable files when asked. One of those .exe files will move files from one directory to another, but its very important for my users to specify the first four characters (always digits) of the file, or the .exe will move ALL files from the source directory to the destination directory.
The section of code my bot uses for this looks like this--
:pull
if (%enabled = 1) {
run "C:\BOT\pull.exe" $$2
notice $nick PULL $$2
}
else {
notice $nick I've not been enabled.
}
return
Is there any way for me to include:
If $$2 does not = 4 digits, notice $nick Which file?
I'm pretty sure my logic is right.. but I cant get the syntax down for what I'm trying to make the bot do..
any help is greatly appreciated!!