Paste #40086: test

Date: 2017/02/20 14:52:40 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


fuckingtuto:
  type: assignment
  actions:
    on assignment:
    - trigger name:chat toggle:true
  interact scripts:
  - 10 tutorial
#----------------------------------
#  Start of the quest scripts, I
#  would not advise editing any-
#  thing beyond here if you are not
#  an experienced scripter.
#----------------------------------
tutorial:
  Type: Interact
  Steps:
    1:
      Click Trigger:
        Script:
          - ^engage
          - chat "Welcome to the Tutorial of DarkatSurvival!"
          - wait 2
          - chat "This quiz is about the rules of the server. if you are interested in joining you must pass this quiz."
          - wait 2
          - chat "After you will be teleported with your items in the server."
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>yes<white> or <green>no<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /yes/, ask me the first question.
           Script:
             - ^engage
             - chat "Alright!! click on the npc before each questions, there are 10"
             - wait 2
             - ^zap step:2
             - ^disengage
        2:
           Trigger: /no/, I feel like I need to read the tutorial again. 
           Script:
             - ^engage
             - chat "Make sure you read the posters and the holograms!"
             - wait 2
             - ^disengage
    2:
      Click Trigger:
        Script:
          - ^engage
          - chat "Question 1, What is the minimum of block you can build from a player (without mutual consent)."
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>40 blocks<white> or <green>0<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /40 blocks/
           Script:
             - ^engage
             - chat "You got it, 40 blocks from a player without mutual consent (it's respect)"
             - wait 2
             - ^zap step:3
             - ^disengage
        2:
           Trigger: /0/
           Script:
             - ^engage
             - chat "Make sure you read the posters and the holograms, this is the wrong answer!"
             - wait 2
             - ^zap step:2
             - ^disengage
    3:
      Click Trigger:
        Script:
          - ^engage
          - chat "Question 2, Is it okay to cast spells nearby and on other players in the main world"
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>yes<white> or <green>no<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /yes/
           Script:
             - ^engage
             - chat "No, it's like trying to kill players and steal them... Only in the mining world!"
             - wait 2
             - ^zap step:2
             - ^disengage
        2:
           Trigger: /no/
           Script:
             - ^engage
             - chat "Right, it's like trying to kill players and steal them... Only in the mining world!"
             - wait 2
             - ^zap step:4
             - ^disengage
    4:
      Click Trigger:
        Script:
          - ^engage
          - chat "Question 3, If you find a glitch or bug, are you allowed to abuse it?."
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>yes<white> or <green>no<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /yes/ Hell yeah! Dupe and glitch all the things, it's the mod responsability to catch me!!
           Script:
             - ^engage
             - chat "duh, I hope not, (SOPhorrific the inventor won't reward you and will most likely ban you)"
             - wait 2
             - ^zap step:2
             - ^disengage
        2:
           Trigger: /no/ No, you have to report it to a staff member and you will be rewarded! (duh)
           Script:
             - ^engage
             - chat "Correct!"
             - wait 2
             - ^zap step:5
             - ^disengage
    5:
      Click Trigger:
        Script:
          - ^engage
          - chat "Question 4, What do you do if you find a spawner."
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>build a mob farm<white> or <green>sell it<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /build a mob farm/ I build a mob farm and lag the server!
           Script:
             - ^engage
             - chat "Uh Uh try again because staff will hunt you down!"
             - wait 2
             - ^zap step:2
             - ^disengage
        2:
           Trigger: /sell it/ You sell it for SP(Skill Points) and upgrade your wand! (duh)
           Script:
             - ^engage
             - chat "Correct!"
             - wait 2
             - ^zap step:6
             - ^disengage
    6:
      Click Trigger:
        Script:
          - ^engage
          - chat "Question 5, Mob spawners and redstone clock are allowed, true or false?."
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>true<white> or <green>false<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /true/ LAGGGGGGG
           Script:
             - ^engage
             - chat "Lol but no thanks, we dont support lag machines!"
             - wait 2
             - ^zap step:2
             - ^disengage
        2:
           Trigger: /false/ Easy question, half of the logic was in the previous question!
           Script:
             - ^engage
             - chat "Right!"
             - wait 2
             - ^zap step:7
             - ^disengage
    7:
      Click Trigger:
        Script:
          - ^engage
          - chat "Question 6, You claim land with protection, sold by droobledore at spawn, true or false?."
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>true<white> or <green>false<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /true/ Droobledore, what a funny name!
           Script:
             - ^engage
             - chat "Yes, He is a friend of this server, we love his skin!"
             - wait 2
             - ^zap step:8
             - ^disengage
        2:
           Trigger: /false/ Derp I protect nuthin cuz I loved to be griefed!
           Script:
             - ^engage
             - chat "Errhm... hashtag fail"
             - wait 2
             - ^zap step:2
             - ^disengage
    8:
      Click Trigger:
        Script:
          - ^engage
          - chat "Question 7, What world is the only one with keep-inventory enabled?."
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>main world<white> or <green>mining world<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /main world/ That make sense!
           Script:
             - ^engage
             - chat "Right, the mining world is more dangerous but have emerald spawn rate everywhere!"
             - wait 2
             - ^zap step:9
             - ^disengage
        2:
           Trigger: /mining world/
           Script:
             - ^engage
             - chat "Errhm... sorry but the mining world is the most dangerous place after the end and the nether!"
             - wait 2
             - ^zap step:2
             - ^disengage
    9:
      Click Trigger:
        Script:
          - ^engage
          - chat "Question 8, TRUE OR FALSE: You buy spells by right-clicking an enchantment table while holding your wand."
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>true<white> or <green>false<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /true/ This quiz is easy!
           Script:
             - ^engage
             - chat "Right, and you can see your spell progression by shift-right-clicking the table while you hold your wand"
             - wait 2
             - ^zap step:10
             - ^disengage
        2:
           Trigger: /false/
           Script:
             - ^engage
             - chat "Errhm... then, how do you buy spells? xD"
             - wait 2
             - ^zap step:2
             - ^disengage
    10:
      Click Trigger:
        Script:
          - ^engage
          - chat "Question 9, TRUE OR FALSE: Optifine and Shaders are the only modified client allowed, other is bannable"
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>true<white> or <green>false<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /true/ This quiz is easy!
           Script:
             - ^engage
             - chat "Right!"
             - wait 2
             - ^zap step:11
             - ^disengage
        2:
           Trigger: /false/
           Script:
             - ^engage
             - chat "Sigh..."
             - wait 2
             - ^zap step:2
             - ^disengage
    11:
      Click Trigger:
        Script:
          - ^engage
          - chat "Last question, TRUE OR FALSE, You can swear, but as long as your respectful of other individuals"
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>true<white> or <green>false<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /true/ This quiz is easy!
           Script:
             - ^engage
             - chat "Right!"
             - wait 2
             - ^zap step:12
             - ^disengage
        2:
           Trigger: /false/
           Script:
             - ^engage
             - chat "Sigh... Shit... you need to retake the quiz..."
             - wait 2
             - ^zap step:2
             - ^disengage
    12:
      Click Trigger:
        Script:
          - ^engage
          - chat "Now, what wand do you want? It will be automagically put in your inventory"
          - wait 2
          - chat "What do you say?"
          - narrate "<white>You can say, <green>fire<white> or <green>water<white> or <green>earth<white> or <green>air<white>."
          - ^disengage
      Chat Trigger:
        1:
           Trigger: /fire/ I'm a wizard, Harry!
           Script:
             - EXECUTE ASSERVER mgive beginner3wand
             - ^zap step:1
        2:
           Trigger: /water/ I'm a wizard, Harry!
           Script:
             - EXECUTE ASSERVER mgive beginner1wand
             - ^zap step:1
        3:
           Trigger: /earth/ I'm a wizard, Harry!
           Script:
             - EXECUTE ASSERVER mgive beginner2wand
             - ^zap step:1
        4:
           Trigger: /air/ I'm a wizard, Harry!
           Script:
             - EXECUTE ASSERVER mgive beginner4wand
             - ^zap step:1