Paste #7659: loop test

Date: 2014/07/29 20:47:02 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


Script1:
  type: task
  script:
    - announce "Start"
    - repeat 50 {
      - announce "repeat %value%"
      - wait 1
      - define list li@1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20
      - foreach %list% {
        - announce "Foreach %value%"
        - wait 1
        }
      }
      - announce "Done"