Paste #1963: banker

Date: 2014/02/10 19:13:12 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


assignBanker:
    type: assignment
    interact scripts:
    - 10 assignBanker
assignBanker:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Hello <player.name> welcome to Tylersel's Bank!"
                - wait 1
                - chat "Would you like do view the options on what you can do here? (Yes/No)"
            chat trigger:
                1:
                    trigger: /Yes/, I would like to view the options.
                    script:
                    - chat "Okay, would you like to deposit, withdraw or purchase a bank account? (type deposit or withdraw or bankaccount"
                2:
                    trigger: /No/, I am too busy.
                    script:
                    - chat "Okay, come back if you change you're mind!"
                3:
                    trigger: /deposit/, I would like to deposit.
                    script:
                    - chat "Please type choose how much you would like to deposit. (100,250,500,750,1000)"
                4:
                    trigger: /100/, I would like to deposit $100.
                    script:
                    - chat "Under construction!"
                5:
                    trigger: /250/, I would like to deposit $250.
                    script:
                    - chat "Under construction!"
                6:
                    trigger: /500/, I would like to deposit $750.
                    script:
                    - chat "Under construction!"
                7:
                    trigger: /1000/, I would like to deposit $1000.
                    script:
                    - chat "Under construction!"