I am 99.9% sure that that's totally impossible.
Unfortunately, if I recall correctly, Blizzard has completely removed typecasting code variables to integers, which is crucial to Map Lock.
Unfortunately, if I recall correctly, Blizzard has completely removed typecasting code variables to integers, which is crucial to Map Lock.