Paste #7630: here

Date: 2014/07/29 14:27:03 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


"Skin Changing Npc Assingment":
  type: assignment 
  interact scripts: 
  - 100 SkinChanginMachine 

  actions:
    on assignment:
      - trigger name:click toggle:true

SkinChanginMachine:
  type: interact 
  steps: 
    1: 
      click trigger: 
        script: 
        - chat "Ciao! Sono in grado di trasformarmi in qualsiasi player! Dimmi il nome del player che vorresti che fossi!"
      chat trigger: 
        'skin': 
          trigger: '/REGEX:.+/' 
          script:
          - random 5
          - chat "<player.chat_history>... troppo facile..."
          - chat "<player.chat_history> eh?"
          - chat "Che ne pensi?"
          - chat "<player.chat_history><&sq>..."
          - chat "Sono talmente figo che vorrei che <player.chat_history> avesse la sua ombra!"
          - execute as_op "npc select <npc.id>"
          - execute as_op "npc skin <context.message>"