I use the code level limit hack all the time but ran into an issue tonight when trying to use two code levels inside Switch that uses code (so 3 code levels). The hack keeps the macro from bugging out, but it also fails to run the nested code in the correct switch option. You'll see the broadcasts from the second and third level do not run ```[h: switchOption = "test"]
[h: var1 = 1]
[h: var2 = 2]
[h, SWITCH(switchOption), CODE:
case "test":
{
[h: broadcast("Test Switch Code block starts.")]
[h, if(var1 == 1), CODE:
{
[h: broadcast("Second Code Level.")]
[h, if(var2 == 2), CODE:
{
[h: broadcast("Third Code Level.")]
};
{
[h:'Fix for code level limitation.']
}
]
};
{
[h:'Fix for code level limitation.']
}
]
[h: broadcast("Test Switch code block ends.")]
};
default:
{
}
]
[h: broadcast("Code after the Switch.")]
Has anyone used the hack with a switch with code before?