xcall MIAMEX, MX_SETLOKSER, lokflag
MX_SETLOKSER allows you to turn LOKSER on or off. lokflag (Num) must be set to 0 to turn LOKSER off, or non-zero to turn it on.
You may also use SET.LIT to query or change the LOKSER status.