<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://d20futurepath.com/index.php?action=history&amp;feed=atom&amp;title=User%3ANod%2FAuto_Character_Generator_And_Dice_Roller</id>
	<title>User:Nod/Auto Character Generator And Dice Roller - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://d20futurepath.com/index.php?action=history&amp;feed=atom&amp;title=User%3ANod%2FAuto_Character_Generator_And_Dice_Roller"/>
	<link rel="alternate" type="text/html" href="https://d20futurepath.com/index.php?title=User:Nod/Auto_Character_Generator_And_Dice_Roller&amp;action=history"/>
	<updated>2026-05-04T00:52:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://d20futurepath.com/index.php?title=User:Nod/Auto_Character_Generator_And_Dice_Roller&amp;diff=993&amp;oldid=prev</id>
		<title>Nod at 07:51, 16 January 2015</title>
		<link rel="alternate" type="text/html" href="https://d20futurepath.com/index.php?title=User:Nod/Auto_Character_Generator_And_Dice_Roller&amp;diff=993&amp;oldid=prev"/>
		<updated>2015-01-16T07:51:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;//d20futurepath.com/index.php?title=User:Nod/Auto_Character_Generator_And_Dice_Roller&amp;amp;diff=993&amp;amp;oldid=986&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Nod</name></author>
	</entry>
	<entry>
		<id>https://d20futurepath.com/index.php?title=User:Nod/Auto_Character_Generator_And_Dice_Roller&amp;diff=986&amp;oldid=prev</id>
		<title>Nod: Created page with &quot;&#039;This is source code for a nicely formatted automatic character generator for use on Windows (Yeah, I know...). &#039;Copy and paste this into a plain text document like notepad an...&quot;</title>
		<link rel="alternate" type="text/html" href="https://d20futurepath.com/index.php?title=User:Nod/Auto_Character_Generator_And_Dice_Roller&amp;diff=986&amp;oldid=prev"/>
		<updated>2015-01-15T06:23:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;This is source code for a nicely formatted automatic character generator for use on Windows (Yeah, I know...). &amp;#039;Copy and paste this into a plain text document like notepad an...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;This is source code for a nicely formatted automatic character generator for use on Windows (Yeah, I know...).&lt;br /&gt;
&amp;#039;Copy and paste this into a plain text document like notepad and save as chargen.vbs.&lt;br /&gt;
&amp;#039;DO NOT COPY any of this block of single quoted lines.&lt;br /&gt;
&amp;#039;Open a command windows and cd to the directory where this file resides.&lt;br /&gt;
&amp;#039;Type the below.&lt;br /&gt;
&amp;#039;For help:&lt;br /&gt;
&amp;#039;cscript chargen.vbs&lt;br /&gt;
&amp;#039;To roll a new character:&lt;br /&gt;
&amp;#039;cscript chargen.vbs new&lt;br /&gt;
&amp;#039;To roll a die (Only recognizes one die at a time):&lt;br /&gt;
&amp;#039;cscript chargen.vbs &amp;lt;integer of the number of sides on the die you would like to roll&amp;gt;&lt;br /&gt;
&amp;#039;Example: cscript chargen.vbs 12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On Error Resume Next&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Dim die&lt;br /&gt;
Set die = Wscript.Arguments&lt;br /&gt;
&lt;br /&gt;
If die.Count = 0 Then&lt;br /&gt;
    Wscript.Echo &amp;quot;To roll a die, type the number of sides for that die 2-20&amp;quot;&lt;br /&gt;
    Wscript.Echo &amp;quot;To roll a character, type &amp;quot;&amp;quot;new&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    Wscript.Quit 0&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
Cool = Nothing&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;new&amp;quot; Then&lt;br /&gt;
    Wscript.Echo &amp;quot;MAIN STATS&amp;quot;&lt;br /&gt;
    PhysicalPower = Int(stats(Cool))&lt;br /&gt;
    PhysicalQuickness = Int(stats(Cool))&lt;br /&gt;
    PhysicalToughness = Int(stats(Cool))&lt;br /&gt;
    PhysicalProwess = Int(stats(Cool))&lt;br /&gt;
    MentalPower = Int(stats(Cool))&lt;br /&gt;
    MentalQuickness = Int(stats(Cool))&lt;br /&gt;
    MentalToughness = Int(stats(Cool))&lt;br /&gt;
    MentalProwess = Int(stats(Cool))&lt;br /&gt;
    CommonSense = Int(stats(Cool))&lt;br /&gt;
    SixthSense = Int(stats(Cool))&lt;br /&gt;
    Social = Int(stats(Cool))&lt;br /&gt;
    Cool = &amp;quot;coolness&amp;quot;&lt;br /&gt;
    Coolness = Int(stats(Cool))&lt;br /&gt;
&lt;br /&gt;
    Wscript.Echo &amp;quot;                  ---Physical--------Mental------&amp;quot;&lt;br /&gt;
    Wscript.Echo &amp;quot;  Power       &amp;quot; &amp;amp; PhysicalPower &amp;amp; &amp;quot;       &amp;quot; &amp;amp; MentalPower&lt;br /&gt;
    Wscript.Echo &amp;quot;  Quick       &amp;quot; &amp;amp; PhysicalQuickness &amp;amp; &amp;quot;       &amp;quot; &amp;amp; MentalQuickness&lt;br /&gt;
    Wscript.Echo &amp;quot;  Tough       &amp;quot; &amp;amp; PhysicalToughness &amp;amp; &amp;quot;       &amp;quot; &amp;amp; MentalToughness&lt;br /&gt;
    Wscript.Echo &amp;quot;  Prowess     &amp;quot; &amp;amp; PhysicalProwess &amp;amp; &amp;quot;     &amp;quot; &amp;amp; MentalProwess&lt;br /&gt;
&lt;br /&gt;
    Wscript.Echo &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    Wscript.Echo &amp;quot;  Common Sense        &amp;quot; &amp;amp; CommonSense&lt;br /&gt;
    Wscript.Echo &amp;quot;  Sixth Sense     &amp;quot; &amp;amp; SixthSense&lt;br /&gt;
    Wscript.Echo &amp;quot;  Coolness        &amp;quot; &amp;amp; Int(Coolness    /   3)&lt;br /&gt;
    Wscript.Echo &amp;quot;  Social          &amp;quot; &amp;amp; Social&lt;br /&gt;
&lt;br /&gt;
    Wscript.Echo &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    Wscript.Echo &amp;quot;COMBAT STATS&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    PhysicalHit = Int((PhysicalProwess     +   ((PhysicalQuickness +   CommonSense)        /   2)))&lt;br /&gt;
    PhysicalDamage = Int((PhysicalPower        +   ((PhysicalProwess   +   CommonSense)        /   2)))&lt;br /&gt;
    PhysicalSoak = Int((PhysicalToughness      +   ((PhysicalQuickness +   CommonSense)        /   2)))&lt;br /&gt;
    PhysicalHitRange = Int((PhysicalProwess        +   ((PhysicalQuickness +   PhysicalPower)      /   2)))&lt;br /&gt;
    PhysicalDamageRange = Int((PhysicalQuickness   +   ((PhysicalProwess   +   PhysicalPower)      /   2)))&lt;br /&gt;
    PhysicalSoakRange = Int((PhysicalToughness +   ((PhysicalProwess   +   PhysicalQuickness)  /   2)))&lt;br /&gt;
    MentalHit = Int((MentalProwess         +   ((MentalQuickness   +   SixthSense)     /   2)))&lt;br /&gt;
    MentalDamage = Int((MentalPower            +   ((MentalProwess     +   SixthSense)     /   2)))&lt;br /&gt;
    MentalSoak = Int((MentalToughness      +   ((MentalQuickness   +   SixthSense)     /   2)))&lt;br /&gt;
    MentalHitRange = Int((MentalQuickness      +   ((MentalProwess     +   MentalPower)        /   2)))&lt;br /&gt;
    MentalDamageRange = Int((MentalPower       +   ((MentalProwess     +   MentalQuickness)    /   2)))&lt;br /&gt;
    MentalSoakRange = Int((MentalProwess       +   ((MentalToughness   +   MentalQuickness)    /   2)))&lt;br /&gt;
    PhysicalDodge = Int((PhysicalQuickness     +   ((PhysicalProwess   +   SixthSense)     /   2)))&lt;br /&gt;
    PhysicalGrip = Int((((PhysicalPower        +   PhysicalToughness)  /   2)          +   ((PhysicalSoak  +   PhysicalDodge)  /   3)))&lt;br /&gt;
    PhysicalCrit = Int((PhysicalProwess        +   ((PhysicalPower     +   SixthSense)     /   2)))&lt;br /&gt;
    MentalDodge = Int((MentalQuickness     +   ((MentalProwess     +   CommonSense)        /   2)))&lt;br /&gt;
    MentalGrip = Int((((MentalPower            +   MentalToughness)    /   2)          +   ((MentalSoak    +   MentalDodge)    /   3)))&lt;br /&gt;
    MentalCrit = Int((MentalProwess            +   ((MentalPower       +   CommonSense)        /   2)))&lt;br /&gt;
&lt;br /&gt;
    &amp;#039;PhysicalHit = Int((PhysicalProwess      +   ((PhysicalQuickness +   CommonSense)        /   2))/3)&lt;br /&gt;
    &amp;#039;PhysicalDamage = Int((PhysicalPower     +   ((PhysicalProwess   +   CommonSense)        /   2))/3)&lt;br /&gt;
    &amp;#039;PhysicalSoak = Int((PhysicalToughness       +   ((PhysicalQuickness +   CommonSense)        /   2))/3)&lt;br /&gt;
    &amp;#039;PhysicalHitRange = Int((PhysicalProwess     +   ((PhysicalQuickness +   PhysicalPower)      /   2))/3)&lt;br /&gt;
    &amp;#039;PhysicalDamageRange = Int((PhysicalQuickness    +   ((PhysicalProwess   +   PhysicalPower)      /   2))/3)&lt;br /&gt;
    &amp;#039;PhysicalSoakRange = Int((PhysicalToughness  +   ((PhysicalProwess   +   PhysicalQuickness)  /   2))/3)&lt;br /&gt;
    &amp;#039;MentalHit = Int((MentalProwess          +   ((MentalQuickness   +   SixthSense)     /   2))/3)&lt;br /&gt;
    &amp;#039;MentalDamage = Int((MentalPower         +   ((MentalProwess     +   SixthSense)     /   2))/3)&lt;br /&gt;
    &amp;#039;MentalSoak = Int((MentalToughness       +   ((MentalQuickness   +   SixthSense)     /   2))/3)&lt;br /&gt;
    &amp;#039;MentalHitRange = Int((MentalQuickness       +   ((MentalProwess     +   MentalPower)        /   2))/3)&lt;br /&gt;
    &amp;#039;MentalDamageRange = Int((MentalPower        +   ((MentalProwess     +   MentalQuickness)    /   2))/3)&lt;br /&gt;
    &amp;#039;MentalSoakRange = Int((MentalProwess        +   ((MentalToughness   +   MentalQuickness)    /   2))/3)&lt;br /&gt;
    &amp;#039;PhysicalDodge = Int((PhysicalQuickness      +   ((PhysicalProwess   +   SixthSense)     /   2))/3)&lt;br /&gt;
    &amp;#039;PhysicalGrip = Int((((PhysicalPower     +   PhysicalToughness)  /   2)          +   ((PhysicalSoak  +   PhysicalDodge)  /   3))/4)&lt;br /&gt;
    &amp;#039;PhysicalCrit = Int((PhysicalProwess     +   ((PhysicalPower     +   SixthSense)     /   2))/3)&lt;br /&gt;
    &amp;#039;MentalDodge = Int((MentalQuickness      +   ((MentalProwess     +   CommonSense)        /   2))/3)&lt;br /&gt;
    &amp;#039;MentalGrip = Int((((MentalPower         +   MentalToughness)    /   2)          +   ((MentalSoak    +   MentalDodge)    /   3))/4)&lt;br /&gt;
    &amp;#039;MentalCrit = Int((MentalProwess         +   ((MentalPower       +   CommonSense)        /   2))/3)&lt;br /&gt;
&lt;br /&gt;
    Wscript.Echo &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    Wscript.Echo &amp;quot;  Dodge       &amp;quot; &amp;amp; PhysicalDodge &amp;amp; &amp;quot;       &amp;quot; &amp;amp; MentalDodge&lt;br /&gt;
    Wscript.Echo &amp;quot;  Grip        &amp;quot; &amp;amp; PhysicalGrip &amp;amp; &amp;quot;        &amp;quot; &amp;amp; MentalGrip&lt;br /&gt;
    Wscript.Echo &amp;quot;  Crit        &amp;quot; &amp;amp; PhysicalCrit &amp;amp; &amp;quot;        &amp;quot; &amp;amp; MentalCrit&lt;br /&gt;
&lt;br /&gt;
    Wscript.Echo &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    Wscript.Echo &amp;quot;                  ---Melee--Range--Melee--Range&amp;quot;&lt;br /&gt;
    Wscript.Echo &amp;quot;  Hit       &amp;quot; &amp;amp; PhysicalHit &amp;amp; &amp;quot;     &amp;quot; &amp;amp; PhysicalDamage &amp;amp; &amp;quot;     &amp;quot; &amp;amp; MentalHit &amp;amp; &amp;quot;     &amp;quot; &amp;amp; MentalDamage&lt;br /&gt;
    Wscript.Echo &amp;quot;  Damage        &amp;quot; &amp;amp; PhysicalDamage &amp;amp; &amp;quot;     &amp;quot; &amp;amp; PhysicalDamageRange &amp;amp; &amp;quot;     &amp;quot; &amp;amp; MentalDamage &amp;amp; &amp;quot;     &amp;quot; &amp;amp; MentalDamageRange&lt;br /&gt;
    Wscript.Echo &amp;quot;  Soak          &amp;quot; &amp;amp; PhysicalSoak &amp;amp; &amp;quot;     &amp;quot; &amp;amp; PhysicalSoakRange &amp;amp; &amp;quot;     &amp;quot; &amp;amp; MentalSoak &amp;amp; &amp;quot;     &amp;quot; &amp;amp; MentalSoakRange&lt;br /&gt;
&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
Function stats(coolStat)&lt;br /&gt;
    If coolStat = &amp;quot;coolness&amp;quot; Then&lt;br /&gt;
        roll1 = Int(Dice12)&lt;br /&gt;
        roll2 = Int(Dice12)&lt;br /&gt;
        roll3 = Int(Dice12)&lt;br /&gt;
        roll4 = Int(Dice12)&lt;br /&gt;
        allRolls = Array(roll1, roll2, roll3, roll4)&lt;br /&gt;
    Else&lt;br /&gt;
        roll1 = Int(Dice12)&lt;br /&gt;
        roll2 = Int(Dice12)&lt;br /&gt;
        allRolls = Array(roll1, roll2)&lt;br /&gt;
        If roll1 = 1 And roll2 = 1 Then&lt;br /&gt;
            finalRoll = 25&lt;br /&gt;
            stats = finalRoll&lt;br /&gt;
            Exit Function&lt;br /&gt;
        End If&lt;br /&gt;
    End If&lt;br /&gt;
    For Each eachRoll in allRolls&lt;br /&gt;
        While eachRoll &amp;lt; 3&lt;br /&gt;
            eachRoll = Int(Dice12)&lt;br /&gt;
        Wend&lt;br /&gt;
        finalRoll = Int(finalRoll + eachRoll)&lt;br /&gt;
    Next&lt;br /&gt;
    stats = finalroll&lt;br /&gt;
    &amp;#039;New change (divide final roll by 2) to use only one D12 rather than 2 for the final stat result&lt;br /&gt;
    &amp;#039;stats = Int(finalroll/2)&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;2&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice2)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(Dice2 * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;3&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice3)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(Dice3 * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;4&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice4)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(Dice4 * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;5&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice2 + Dice3)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int((Dice2 + Dice3) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;6&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice6)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(Dice6 * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;7&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice3 + Dice4)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int((Dice3 + Dice4) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;8&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice8)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(Dice8 * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;9&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice4 + (Dice2 + Dice3))&lt;br /&gt;
    If die(1) Then Wscript.Echo Int((Dice4 + (Dice2 + Dice3)) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;10&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice10)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(Dice10 * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;11&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int((Dice3 + Dice2) + Dice6)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(((Dice3 + Dice2) + Dice6) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;12&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice12)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(Dice12 * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;13&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int((Dice3 + Dice4) + Dice6)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(((Dice3 + Dice4) + Dice6) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;14&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int((Dice3 + Dice4) + (Dice3 + Dice4))&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(((Dice3 + Dice4) + (Dice3 + Dice4)) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;15&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int((Dice3 + Dice4) + Dice8)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(((Dice3 + Dice4) + Dice8) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;16&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice8 + Dice8)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int((Dice8 + Dice8) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;17&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice8 + (Dice4 + (Dice2 + Dice3)))&lt;br /&gt;
    If die(1) Then Wscript.Echo Int((Dice8 + (Dice4 + (Dice2 + Dice3))) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;18&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int((Dice4 + (Dice2 + Dice3)) + (Dice4 + (Dice2 + Dice3)))&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(((Dice4 + (Dice2 + Dice3)) + (Dice4 + (Dice2 + Dice3))) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;19&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int((Dice4 + (Dice2 + Dice3)) + Dice10)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(((Dice4 + (Dice2 + Dice3)) + Dice10) * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
If die(0) = &amp;quot;20&amp;quot; Then&lt;br /&gt;
    If die(0) and die(1) = Null Then Wscript.Echo Int(Dice20)&lt;br /&gt;
    If die(1) Then Wscript.Echo Int(Dice20 * die(1))&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
Function Dice2&lt;br /&gt;
Dim Die2&lt;br /&gt;
Randomize&lt;br /&gt;
Die2 = Int((2 * Rnd) + 1)&lt;br /&gt;
&amp;#039;Wscript.Echo Die2&lt;br /&gt;
Dice2 = Die2&lt;br /&gt;
Set Die2 = Nothing&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Function Dice3&lt;br /&gt;
Dim Die3&lt;br /&gt;
Randomize&lt;br /&gt;
Die3 = Int((3 * Rnd) + 1)&lt;br /&gt;
&amp;#039;Wscript.Echo Die3&lt;br /&gt;
Dice3 = Die3&lt;br /&gt;
Set Die3 = Nothing&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Function Dice4&lt;br /&gt;
Dim Die4&lt;br /&gt;
Randomize&lt;br /&gt;
Die4 = Int((4 * Rnd) + 1)&lt;br /&gt;
&amp;#039;Wscript.Echo Die4&lt;br /&gt;
Dice4 = Die4&lt;br /&gt;
Set Die4 = Nothing&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Function Dice6&lt;br /&gt;
Dim Die6&lt;br /&gt;
Randomize&lt;br /&gt;
Die6 = Int((6 * Rnd) + 1)&lt;br /&gt;
&amp;#039;Wscript.Echo Die6&lt;br /&gt;
Dice6 = Die6&lt;br /&gt;
Set Die6 = Nothing&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Function Dice8&lt;br /&gt;
Dim Die8&lt;br /&gt;
Randomize&lt;br /&gt;
Die8 = Int((8 * Rnd) + 1)&lt;br /&gt;
&amp;#039;Wscript.Echo Die8&lt;br /&gt;
Dice8 = Die8&lt;br /&gt;
Set Die8 = Nothing&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Function Dice10&lt;br /&gt;
Dim Die10&lt;br /&gt;
Randomize&lt;br /&gt;
Die10 = Int((10 * Rnd) + 1)&lt;br /&gt;
&amp;#039;Wscript.Echo Die10&lt;br /&gt;
Dice10 = Die10&lt;br /&gt;
Set Die10 = Nothing&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Function Dice12&lt;br /&gt;
Dim Die12&lt;br /&gt;
Randomize&lt;br /&gt;
Die12 = Int((12 * Rnd) + 1)&lt;br /&gt;
&amp;#039;Wscript.Echo Die12&lt;br /&gt;
Dice12 = Die12&lt;br /&gt;
Set Die12 = Nothing&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Function Dice20&lt;br /&gt;
Dim Die20&lt;br /&gt;
Randomize&lt;br /&gt;
Die20 = Int((20 * Rnd) + 1)&lt;br /&gt;
&amp;#039;Wscript.Echo Die20&lt;br /&gt;
Dice20 = Die20&lt;br /&gt;
Set Die20 = Nothing&lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
Error.Clear&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set die = Nothing&lt;/div&gt;</summary>
		<author><name>Nod</name></author>
	</entry>
</feed>