Paste #35683: Untitled Paste

Date: 2016/08/29 18:29:37 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


- define numbers 'li@'
    - while '<def[total].is[MORE].than[0]>':
      - if %amount% == 1 {
        - define n '%total%'
        - while stop
        }
        else {
        - define amount '<def[amount].sub[1].round>'
        - define n '<util.random.int[1].to[<def[total].sub[%amount%].round>].round>'
        - define total '<def[total].sub[%n%].round>'
        }
      - define numbers '<def[numbers].include[%n%]>'