Paste #9456: Edit of P#9455 - Untitled Paste

Date: 2014/09/09 10:37:28 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


##########this my firsct active command:
YourScript:
  type: world
  degug: false

  event:
    on yourcommand command:
    - narrate "Run/Inject a subscript below."

  active1:
    - foreach <w@game1.players> {
      - if !<def[value].flag[start1]> 
        && if <def[value].flag[klasa].is[==].to[king]> {
        - run s@rycerz 'as:%value%' 'def:w@game1'
        - flag <def[value]> klasa:!
        }
        else {
        }
########blalblabla




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

  active2:
    - foreach <w@game2.players> {
      - if !<def[value].flag[start1]> 
        && if <def[value].flag[klasa].is[==].to[king]> {
        - run s@rycerz 'as:%value%' 'def:w@game1'
        - flag <def[value]> klasa:!
        }
        else {
        }
#########blablabla


# then this part start:


  rycerz:
    - 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"
      }