looptask: type: task script: - announce Hello - if == schuhe { - narrate 'If schuhe erkannt' - potion jump d:10 p:3 - announce ' loop return ' - run looptask delay:7s } else { - potion jump remove - announce ' Script ended ' } 'loopcommand': type: world events: on player equips armor: - run looptask