I made a Maze Randomizer a LONG time ago and put it up in the spells, It never got approved since it was when the admins were very inactive and It got deleted with the map purge a while ago. I'm pretty sure its leakless but I havent looked at it in a while, anyways Ill post it up here for ya to get an idea:
Oh if this is the one where the whole maps tiles change I should warn you that you can only have so many tile types on a map at once even though you can place them via triggers, if you get so many different tiles at once it just kinda replaces some tiles with the next likely candidate, like changing snow into grass to fit with the max already there.
hmmm, Maybe I should think about reworking this and submitting it to the spell section.
-Idk if this is what you were talking about sadvisor but yeah heres an example nevertheless
BTW, the Clanbom.net reference is old and that site no longer works
-I set defaults so contrary to what it says inputting all values shouldnt be necassary
You might want to screw around with the values since the defaults don't make a very good looking maze, try setting some stuff to the max