Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Write-Host ("Welcome to ISIS `n Your death begins here")
- Write-Host (" From the beginning of time man has sought its own destruction, in this time of despair only one hero may rise amongst the ranks to deter evil from taking `
- its place in the world. Will you be this hero? Can you stand up for what is right? Can you protect the helpless from there own demise? You hero, our are only hope.")
- function Menu
- {
- [int]$MenuChoice = 0
- While ( $MenuChoice -lt 1 -or $MenuChoice -gt 2 )
- {
- switch ($MenuChoice)
- {
- 1{Warrior}
- 2{Mage}
- default {Write-Host ("You have failed")}
- }
- break
- }
- }
- Menu
- Write-Host ("You have selected $MenuChoice")
- <#
- switch( $MenuChoice )
- {
- 1{Warrior}
- 2{Mage}
- default {Write-Host "You have failed"}
- }
- #>
- [int]$skill = 0
- function Warrior
- {
- Write-Host ("You are a Warrior")
- Write-Host ("Pick Your Skill")
- switch ( $skill )
- {
- 1 {Read-Host "1. Mortal Strike"}
- 2 {Read-Host "2. Rage Strike"}
- 3 {Read-Host "3. Pick Again"}
- }
- }
- function Mage
- {
- Write-Host ("You are a Mage")
- Write-Host ("Pick Your Skill")
- switch ( $skill )
- {
- 1 {Read-Host "1. Fireball"}
- 2 {Read-Host "2. Frostbolt"}
- 3 {Read-Host "3. Pick Again"}
- }
- }
- Write-Host ("Your journey has finally begun young hero")
Advertisement
Add Comment
Please, Sign In to add comment