public override void Use(Player p, string message) { if (message == "" || message.IndexOf(' ') != -1) { Help(p); return; } bool success = false; try { success = Scripting.Compile(message); } catch (Exception e) { Server.ErrorLog(e); Player.SendMessage(p, "An exception was thrown during compilation."); return; } if (success) { Player.SendMessage(p, "Compiled successfully."); } else { Player.SendMessage(p, "Compilation error. Please check compile.log for more information."); } }