Paste #8821: Edit of P#8820 - Potion Effect Loop Script

Date: 2014/08/24 16:08:06 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


MyLoopStarter:
    type: world
    events:
        on server start:
        - run MyLoopScript

MyLoopScript:
    type: task
    script:
    - foreach <server.list_online_players> {
      - if <def[value].equipment.boots.scriptname||null> == MyCustomBoots {
        - cast speed duration:10s power:1 <def[value]>
        }
      }
    - run MyLoopScript delay:9s