The mIRC scripting language (often unofficially abbreviated to "mSL"[3][4]) is the scripting language embedded in mIRC and Adiirc, IRC clients for Windows but work with WiNE for Linux.
A (un)loader-script MUST be used for semi-large scripts to function as intended.
(However, whilst this can be a little confusing to newcomers, they do not impact on the functionality of mSL.)
Because each time you issue $read or /write you open and close the file for access.
Here is an example of a Hello World alias: A remote script to automatically respond to certain text