Paste #9455: Untitled Paste

Date: 2014/09/09 10:24:32 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


##########this my firsct active command:


active1: 
    type: task 
    speed: 1t 
    script: 
      - foreach <w@game1.players> { 
        - if !<player.flag[start1]> { 
          - if <def[value].flag[klasa]> == king { 
            - run s@rycerz 'as:%value%' 'def:w@game1'
            - flag <def[value]> klasa:!
            }
            else
########blalblabla




#########this my secound active command:

active2: 
    type: task 
    speed: 1t 
    script: 
      - foreach <w@game2.players> { 
        - if !<player.flag[start1]> { 
          - if <def[value].flag[klasa]> == king { 
            - run s@rycerz 'as:%value%' 'def:w@game2'
            - flag <def[value]> klasa:!
            }
            else
#########blablabla


then this part start:


rycerz: 
    type: task
    script: 
    - narrate "<&b>INFORMATION!" 
    - wait 55
    - if <player.location.world> == %1% {  
      - inventory add destination:<player.inventory> origin:compass slot:8
      - inventory add destination:<player.inventory> origin:i@stol slot:9
      } else {
      - narrate "BLABLABLA"
      }