Paste #43534: Untitled Paste

Date: 2017/08/16 11:51:05 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


ally:
    type: assignment
    interact scripts:
    - 1 allyscript
    - 2 allyscript2
    - 3 allyscript3

allyscript:
    type: interact
    steps:
        1:
            click trigger:         
                script:
                - chat "Yo <player.name>, I see you are a new recruit for the Allied Shinobi forces. My name is Darui, I am the commander of the First Divison and I will be giving you assignments."
                - wait 4
                - chat "But first I need to explain how wars work..."
                - wait 3
                - zap step:2
        2:
            click trigger:
                script:
                - chat "Every Monday, Tuesday, Thursday and Friday, there are team death match events hosted multiple times a day known as 'Wars', a war is fought between players from the Allied Shinobi Forces and players from the Akatsuki, the first team to defeat all of the players from the other team win the war and are rewarded with money, items and a rankup, there are 20 war ranks and as you rank up you will unlock new things such as jutsus and weapons" then "for more information on wars, please click this link: https://narutorpgofficial.enjin.com/forum/m/16925890/viewthread/30796673-how-wars-work-on-official-naruto-rpg-server/page/1"
                - wait 5
                - chat "Did you understand all of that?"
                - wait 1
                - chat "Please say either Yes or No in chat" 
            chat trigger:
                1:
                    trigger: /Yes/, I understand
                    script:
                    - chat "Okay, now that you understand about wars, before you are ready to start completing tasks I must give you your supplies"
                    - zap step:3              
                2:
                    trigger: /No/, I dont understand
                    script:
                    - chat Ok, let me explain again...
                    - zap step:2
        3:
            click trigger:
                script:
                - wait 1
                - /rpgitem AllyBasicSword give <player.name>    
                - wait 1
                - chat "This is the basic Ally Katana, it is the most basic of our weapons, you may be rewarded with stronger and more powerful items later on."
                - wait 2
                - chat "Okay, you are now ready to start completing tasks."
                - /eco give <player.name> 200
                - /addexp <player.name> 500
allyscript2:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "The Akatsuki use a giant army of clones known as 'White Zetsus' they are white in skin colour and have green hair, if you see any you must kill them, in fact, I want you to go into that forest opposite the Ally base and defeat 10 White Zetsus, report back to me once you have done that (if you are not using the texture pack, White Zetsus are zombies)"
                - listen kill type:entity name:zombie qty:10 script:allyzombietask
        2:
            click trigger:
                script:
                - chat "Good job, I will now give you your reward"
                - /eco give <player.name> 300
                - /addexp <player.name> 1000
                - wait 1
                - chat "talk to me again for your next assignment"
allyzombietask:
    type: task
    script:
    - narrate "Return back to Darui!"
    - zap step:2 script:allyscript2
allyscript3:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Okay, for your next assignment, I want you to win a war, come and talk to me when you have done that."