public List <string> CreateArray(RelayInfo info, Mobile from) { List <string> creaturesName = new List <string>(); for (int i = 0; i < 13; i++) { TextRelay te = info.GetTextEntry(i); if (te != null) { string str = te.Text; if (str.Length > 0) { str = str.Trim(); string t = IntelliSpawner.ParseType(str); Type type = ScriptCompiler.FindTypeByName(t); if (type != null) { creaturesName.Add(str); } else { from.SendMessage("{0} is not a valid type name.", t); } } } } return(creaturesName); }