Paste #10863: starter v3

Date: 2014/10/30 20:40:24 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


'Starter':
  type: assignment
  interact scripts:
  - 10 name

name:
  type: interact 
  steps: 
    1: 
      click trigger: 
        script:  
        - chat 'Hello.'
        - wait 1
        - chat 'Before we go out, we must get some basic things down. Firstly, what is your name?'
      chat trigger:
        1:
            trigger: /regex:.+/ is my name.
            script:
            - chat 'Well met. I am Joe. And it is nice to meet you but we gotta speed things up...'
            - wait 1
            - chat '.. because after all; there are pirates about and I don't want to die.'
            - execute as_op "rename <player.name> <context.message>"