For my game you will have to buy items but i cant figure out how to make it be like - You dont have a 'gun' or You have put on the Gun.

But even when i do this /wear rocket, it works when i havnt even bought the item.

so my question is, how can i get it so that the p rogram knows that i have one thing, and not the other item?

VB Code:
  1. Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
  2.         If TextBox1.Text = "" And (Asc(e.KeyChar)) = 13 Then
  3.             MsgBox("Need to type something")
  4.         ElseIf TextBox1.Text = "/buy gun" Then
  5.             chatwin.Text = chatwin.Text & vbCrLf & "You have bought a Paintball gun for $150"
  6.             TextBox1.Clear()
  7.         ElseIf TextBox1.Text = "/buy tube" Then
  8.             chatwin.Text = chatwin.Text & vbCrLf & "You have bought a tube of paintballs for $30"
  9.             TextBox1.Clear()
  10.         ElseIf TextBox1.Text = "/wear gun" Then
  11.             chatwin.Text = chatwin.Text & vbCrLf & "You have put on" & gun
  12.             TextBox1.Clear()
  13.  
  14.         ElseIf (Asc(e.KeyChar)) = 13 Then
  15.  
  16.             chatwin.Text = chatwin.Text & vbCrLf & (UserName) & ":" & " " & TextBox1.Text
  17.             TextBox1.Clear()
  18.         End If
  19.     End Sub