Paste #49982: Untitled Paste

Date: 2018/09/21 08:09:53 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


tutorial: 
    type: assignment 
    actions: 
        on assigment: 
        - trigger name:click state:true 
        - trigger name:chat state:true 
    interact scripts: 
        - 10 skye_interact     


skye_interact:
    type: interact
    steps:
        1:
            click trigger: 
                script:
                    - if <player.has_flag[tutorial]> {
                    - chat "Thanks for talking to me! I hope you enjoy the server."
                    - wait 5t
                    - chat "If you need more help, feel free to ask!"
                    - queue clear
                    }
                - chat "Hi I'm Ieryana, one of the Server Owners! Welcome to &4Bad&2Apples"
                - wait 5t
                - chat "You'll encounter different NPC's all over the map. Each one usually has a daily, or weekly quest for you."
                - wait 5t
                - chat "To interact you click, or you can say things like [Yes] or [No]"
                - wait 5t
                - chat "Do you understand so far?"
            chat trigger:
                1:
                    trigger: /Yes/
                    script: 
                    - engage
                    - wait 10t
                    - chat "Of course! It's not too hard right? Once you accept the quest you can then fullfill it and talk to the NPC again"
                    - wait 5t
                    - chat "They'll then give you a reward, items, points or money - depends on the NPC!"
                    - wait 5t
                    - chat "there'll also be a quest tag appear in your chat"
                    - wait 5t
                    - narrate "[Like this - Well done you've finshed the tutorial]"
                    - flag <player> tutorial
                    - disengage
                2:
                    trigger: /No/
                    script: 
                    - engage
                    - wait 10t
                    - chat "Really? It's pretty simple. If you need more help you can ask a member of staff"
                    - wait 5t
                    - chat "When you've fullfilled your quest, the NPC will then reward you"
                    - wait 5t
                    - chat "there'll also be a quest tag appear in your chat"
                    - wait 5t
                    - narrate "[Like this - Well done you've finshed the tutorial]"
                    - flag <player> tutorial
                    - disengage