Paste #14197: Edit of P#14196 - Edit of P#14195 - Untitled Paste

Date: 2015/03/03 14:29:47 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


rustung:
  type: world
  events:
    on player equips armor:
    - announce ok2
    - if <player.has_flag[loop_running]> queue clear
    - if <context.armor.scriptname||null> == eisenschuhe {
      - flag player loop_running
      - announce 'Starting Loop'
      - run s@armortask1
      }

eisenschuhe:
    type: item
    debug: true
    material: iron_boots
    display name: Neue schuhe
    lore:
    - Zauber 1
    - Zauber 2
    - <red>Legend<รค>re Schuhe

eisenhose:
    type: item
    debug: true
    material: iron_leggings
    display name: Eine neue Hose
    lore:
    - Lore 1
    - Lore 2
    - <blue>Eine blaue Lore

eisenhelm:
    type: item
    debug: true
    material: iton_helmet
    display name: Ein Helm
    lore:
    - Lore 1
    - Lore 2

armortask1:
  type: task
  script:
  - announce " Task script starting. Castion potion to <player.name>. "
  - cast JUMP duration:6s power:3
  - wait 3s
  - flag player loop_running:!
  - if <player.equipment.boots.scriptname||null> == eisenschuhe {
    - announce " If case running "
    - run s@armortask1
    }
  - announce " Script is closing now"