'Find the greeting based on current reputation Dim Greeting As IEnumerable(Of XElement) = _ From el In nationData.. Where CInt(el.@Rep) <= Reputation _ Select el TextGreet.Text = Greeting.First.Value 'Display a list of speach options based on reputation Dim SpeachOpts As IEnumerable(Of XElement) = _ From el In nationData..