private void GetVariable(string name, ComboBox box) { SaveHistory(box); if (user != null) { var value = user.Predicates.grabSetting(name); if (value != null) { InvokeIfNeeded(box, () => box.Text = robot.ToValueString(value)); } } }
public string Entify(object subject0) { var subject = TheBot.ToValueString(subject0); if (string.IsNullOrEmpty(subject)) { return(""); } string subj = subject.Replace("_", " "); subj = subject.Replace(".", " "); return(subj.Trim()); }