Updated to work with custom actions and other scripts. Thanks for the heads up, @cfillion.
Quote:
Originally Posted by Sexan
there is a bug when there are less action (buttons),script crashes :
|
Hmm... try adding this on the line right before that, make it crash again, and see what it says:
Code:
Msg("cur_depth = "..tostring(cur_depth).."mnu_clicked = "..tostring(mnu_clicked)
If it managed to save your custom menu in the text file, pasting that would be useful too.