lua 根据函数名字符串来执行函数时间:2023-03-09 06:56:40 function myfunction(msg) print("this is msg fun " .. msg); end local fun =_G["myfunction"]; if fun then fun("is ok"); end