- 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


Titlesorting values
TypeDenizen Script
Date2014/01/14 20:13:41 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
4200
  - ^foreach <context.entity.flag[attacklist]> {
     - ^if <context.entity.flag[%value%]> > %2score% {
        - ^define 1score <context.entity.flag[%value%]>
        - ^define 1player %value% }
        else if <context.entity.flag[%value%]> > %3score% {
          - ^define 2score <context.entity.flag[%value%]>
          - ^define 2player %value% }
        else if <context.entity.flag[%value%]> > %4score% {
          - ^define 3score <context.entity.flag[%value%]>
          - ^define 3player %value% }
        else if <context.entity.flag[%value%]> > %5score% {
          - ^define 4score <context.entity.flag[%value%]>
          - ^define 4player %value% }
        else if <context.entity.flag[%value%]> > %6score% {
          - ^define 5score <context.entity.flag[%value%]>
          - ^define 5player %value% }
        else if <context.entity.flag[%value%]> > %7score% {
          - ^define 6score <context.entity.flag[%value%]>
          - ^define 6player %value% }
        else if <context.entity.flag[%value%]> > %8score% {
          - ^define 7score <context.entity.flag[%value%]>
          - ^define 7player %value% }
        else if <context.entity.flag[%value%]> > %9score% {
          - ^define 8score <context.entity.flag[%value%]>
          - ^define 8player %value% }
        else if <context.entity.flag[%value%]> > %10score% {
          - ^define 9score <context.entity.flag[%value%]>
          - ^define 9player %value% }
        else {
          - ^define 10score <context.entity.flag[%value%]>
          - ^define 10player %value% }
     }
  - ^announce "1. <%1player%.name.display><&8><&co> <&f>%1score%"
  - ^if %2score% != 0 ^announce "2. <%2player%.name.display><&8><&co> <&f>%2score%"
  - ^if %3score% != 0 ^announce "3. <%3player%.name.display><&8><&co> <&f>%3score%"
  - ^if %4score% != 0 ^announce "4. <%4player%.name.display><&8><&co> <&f>%4score%"
  - ^if %5score% != 0 ^announce "5. <%5player%.name.display><&8><&co> <&f>%5score%"
  - ^if %6score% != 0 ^announce "6. <%6player%.name.display><&8><&co> <&f>%6score%"
  - ^if %7score% != 0 ^announce "7. <%7player%.name.display><&8><&co> <&f>%7score%"
  - ^if %8score% != 0 ^announce "8. <%8player%.name.display><&8><&co> <&f>%8score%"
  - ^if %9score% != 0 ^announce "9. <%9player%.name.display><&8><&co> <&f>%9score%"
  - ^if %10score% != 0 ^announce "10. <%10player%.name.display><&8><&co> <&f>%10score%"


RawRaw



Pastes made: 55850