title: VBScript - How to Generate a Random Number, then an If-Statement to Use this Number to Pick an Option
body: <p>I would like to know how to, (In VBScript) generate a random number that would not be the same on a different computer, and then use that number and perhaps some If-Statements so that one of 10 possible options can be activated, eg.</p>
  
  <pre><code>If (A random number between 1 - 10, eg. 2) then (Continue on part of script then wscript.quit)
  Else if (A different number, eg. 7) then (continue on to different part of script then wscript.quit)
  </code></pre>
  
  <p>etc.</p>
  
  <p>So that I would have 10 different options for the script to choose randomly.</p>
  
  <p>Is this possible? If so then would someone be able to compile an example of this so I can put my own script in and use it? 
  Thanks to any answers!</p>