Paste #28816: Untitled Paste

Date: 2016/01/20 21:49:25 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


SpawnNPC:
    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
        - trigger name:chat state:true
    interact scripts:
    - 1 SpawnStart

DWDBook:
    type: book
    title: Book title
    author: DWD
    # Author name ^ ie: Candysack
    # Each line of text represents a page in the book. Can use <p> for paragraph tags or to create breaks.
    text:
    - First page of information here
    - <p>This page will start text midway down with this tag.    
CitiesBook:
    type: book
    title: Book title
    author: DWD
    text:
    - First page of information here
    - <p>This page will start text midway down with this tag.
ShopBook:
    type: book
    title: Book title
    author: DWD
    text:
    - First page of information here
    - <p>This page will start text midway down with this tag.

SpawnStart:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - narrate "<&e><player.name> <&d>I am the <&6>Book Keeper<&d> of <&4>DWD.<&d> I can tell you all information regarding plugins or this server."
                - wait 1
                - narrate "<&d>Type in chat the option you'd like to know more about."
                - wait 1
                - narrate "<&e>Choose numbers between 1 - 10"
                - ^narrate "=============="
                - ^narrate "| 1 - DWD         |"
                - ^narrate "| 2 - Cities       |"
                - ^narrate "| 3 - Shop       |"
                - ^narrate "~~~~~~~~~~~~"
            chat trigger:
                1:
                    Trigger: <&b>/1/ - I'd like to know more about DownWithDestruction.
                    script:
                    - narrate "<&d>Information about DWD."
                    - wait 1
                    - narrate "<&d>I'm having a hard time thinking of things to say ATM for this portion."
                    - wait 1
                    - narrate "<&d>Mac, you should fill this out. You can explain best."
                    - wait 1
                    - narrate "<&d>Even though I'm not alive, I appreciate this <player.name> for you allowing me to live on your server."
                    - wait 1
                    - narrate "<&d>I'll be the best damn Book Keeper in Minecraft!"
                    - wait 1
                    - narrate "<&d>If you would like a book about DWD type <&e>dwdbook "
                    - finish
                    - zap step:2
                2:
                    Trigger: <&e>/dwdbook/
                    script:
                    - narrate "<&d>Here you go!"
                    - give player i@DWDBook
                    - finish
                3:
                    trigger: <&e>/2/ - Cities
                    script:
                    - narrate "<&d>To get to our shop type [command or information leading to the different shops]"
                    - wait 1
                    - narrate "<&d>Explain where you can purchase materials and sell them."
                    - wait 1
                    - narrate "<&d>Explain shop plugin further. Prices to create sign shops; etc.."
                    - wait 1
                    - narrate "<&d>If you would like a book of all <&e>City<&d> commands and information type <&e>citiesbook"
                    - finish
                    - zap step:4
                4:
                    Trigger: <&e>/citiesbook/
                    script:
                    - narrate "<&d>Read up; get smart!"
                    - give player i@CitiesBook
                    - finish
                5:
                    trigger: <&e>/3/ - Shop
                    script:
                    - narrate "<&d>To get to our shop type [command or information leading to the different shops]"
                    - wait 1
                    - narrate "<&d>Explain where you can purchase materials and sell them."
                    - wait 1
                    - narrate "<&d>Explain shop plugin further. Prices to create sign shops; etc.."
                    - wait 1
                    - narrate "<&d>If you would like a book of all <&e>Shop<&d> commands and information type <&e>shopbook"
                    - finish
                    - zap step:6
                6:
                    Trigger: <&e>/shopbook/
                    script:
                    - narrate "<&d>I could use a meal now and then."
                    - give player i@ShopBook
                    - finish