精華區beta mud_sanc 關於我們 聯絡資訊
【 OnPluginMXPerror 】 說明: This routine is called whenever an error, warning or information message is generated by MXP. This routine is called regardless of the " MXP debug" level you have set in your configuration screen. This lets you handle MXP errors in your own way. For instance, set the "MXP debug" level to "none" and display selected message to the output window or a notepad window. MXP 產生錯誤、警告或消息時被呼叫。除錯用的。 *出現範例和說明,使用的函數名稱不同的情況。反正用不著,管它的! 範例: function OnPluginMXPerror (number, line, level, message) 自訂內容 end 官網範例: function OnMXPerror (level, number, line, message) if level == "E" and number ~= 1030 then ColourNote ("white", "red", level .. "(" .. number .. "): " message) end if -- do not display entities received (eg. < ) if number == 20001 then return 1 end -- if return 0 end -- function --==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--==-==--