@MrMrE There isn't a known limit though I have seen mod menus up to 300 kbs in size uncompiled and they work. #using isn't supported either that's T7 syntax. Though you could do what xerxes had pointed out.
function_array = [];
function_array["godmode"] = ::godmode;
function_array["noclip"] = ::noclip;
if ( isDefined( function_array[message] ) )
{
func = function_array[message];
[[func]](parm1, parm2, parm3, parm4, parm5);
}
Doing it this way you would have to predefine the array for each function.