That is one way mystic but that would be pointless lol, to do anything upon the close of a menu you would have exec another func, before the menu closes EX:
when i choose to kick player BLAH, you would have to put in the source code for that menu that after kicking him and closing the menu to set_task(0.2, "FUNC_NAME").
that would start doing w/e you want to do when the menu closes, but to set a variable wouldnt do much to exec a function
__________________