title: Random sending of array in AutoHotKey
body: <p>I'm trying to create an AHK script that will type a random insult whenever I type 'diss'. However, at the moment, all I am getting everytime I type 'diss' is "Array[rand]". </p>
  
  <p>What am I doing wrong? </p>
  
  <pre><code>Array:= Object()
  
  Loop, Read, C:\Users\dell\Desktop\insults.txt
  {
      Array.Insert(A_LoopReadLine)
  }
  
  
  ::diss::
  Random, rand, 0, 3
  Send, Array[rand]
  Return
  </code></pre>