- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleUntitled Paste
TypeDenizen Script
Date2018/11/08 17:59:23 UTC-08:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2100
randomListTest:
  Type: Assignment
  Interact Scripts:
    - sTest

sTest:
  Type: Interact
  Steps:
    1:
       Chat Trigger:
         1:
           Trigger/regex:test/
           Script:
            - define numbers li@1|2|3|4|5
            - flag player test:"li@"
            - foreach <def[numbers].random[3]> {
              - announce "foreach-> <def[value]>"
              - flag player test:<player.flag[test].include[<def[value]>]>
            }
            - announce "player flag test value is<player.flag[test]>"



RawRaw



Pastes made: 59170