null != client.Self.MuteList.Find(me => me.Type == MuteType.Resident && me.ID == e.SourceID)
) return;
+ // Check if it's script debug
+ if (e.Type == ChatType.Debug && !instance.GlobalSettings["show_script_errors"])
+ {
+ return;
+ }
+
// Check if sender object is muted
if (e.SourceType == ChatSourceType.Object &&
null != client.Self.MuteList.Find(me =>
{
item.Style = ChatBufferTextStyle.OwnerSay;
}
+ else if (e.Type == ChatType.Debug)
+ {
+ item.Style = ChatBufferTextStyle.Error;
+ }
else
{
item.Style = ChatBufferTextStyle.ObjectChat;
this.autoSitUUID = new System.Windows.Forms.TextBox();
this.autoSitName = new System.Windows.Forms.TextBox();
this.autoSitNameLabel = new System.Windows.Forms.Label();
+ this.cbShowScriptErrors = new System.Windows.Forms.CheckBox();
this.tcGraphics.SuspendLayout();
this.tbpGeneral.SuspendLayout();
this.cbHighLight.SuspendLayout();
//
// cbMisc
//
+ this.cbMisc.Controls.Add(this.cbShowScriptErrors);
this.cbMisc.Controls.Add(this.cbDisableHTTPInventory);
this.cbMisc.Controls.Add(this.cbHideLoginGraphics);
this.cbMisc.Controls.Add(this.cbDisableLookAt);
this.autoSitNameLabel.Text = "Name";
this.autoSitNameLabel.Click += new System.EventHandler(this.autoSitNameLabel_Click);
//
+ // cbShowScriptErrors
+ //
+ this.cbShowScriptErrors.AutoSize = true;
+ this.cbShowScriptErrors.Location = new System.Drawing.Point(6, 280);
+ this.cbShowScriptErrors.Name = "cbShowScriptErrors";
+ this.cbShowScriptErrors.Size = new System.Drawing.Size(110, 17);
+ this.cbShowScriptErrors.TabIndex = 17;
+ this.cbShowScriptErrors.Text = "Show Script Erros";
+ this.cbShowScriptErrors.UseVisualStyleBackColor = true;
+ //
// frmSettings
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
public System.Windows.Forms.Label lblLSLUUID;
public System.Windows.Forms.TextBox tbLSLAllowedOwner;
private System.Windows.Forms.Label label3;
+ public System.Windows.Forms.CheckBox cbShowScriptErrors;
}
s["disable_http_inventory"] = cbDisableHTTPInventory.Checked;
};
+ cbShowScriptErrors.Checked = s["show_script_errors"];
+ cbShowScriptErrors.CheckedChanged += (sender, e) =>
+ {
+ s["show_script_errors"] = cbShowScriptErrors.Checked;
+ };
autoSitPrefsUpdate();
pseudoHomePrefsUpdated();