Paste #9457: Diff note for paste #9456

Date: 2014/09/09 10:37:28 UTC-07:00
Type: Diff Report

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: 
-    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:!
+  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 {
+        }
-            }
-            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:!
+  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 {
+        }
-            }
-            else
 #########blablabla
 
 
-then this part start:
+# then this part start:
 
 
-rycerz: 
-    type: task
+  rycerz:
+    - narrate "<&b>INFORMATION!"
-    script: 
-    - narrate "<&b>INFORMATION!" 
     - wait 55
-    - if <player.location.world> == %1% {  
+    - 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 {
+      }
+      else {
       - narrate "BLABLABLA"
       }