Paste #6651: Untitled Paste

Date: 2014/07/10 13:43:34 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
13
14
15
16
17
18
19
20


'vortex':
  type: world
  events:  

    on player left clicks with Blaze_Rod: 
          - if !<player.has_flag[xxx]> { 
            - flag xxx duration:1s 
            - shoot fireball origin:<player> speed:3 script:test
            - playeffect "location:<context.projectile.location>" effect:MOBSPAWNER_FLAMES 
            - determine fulfilled 
            } else { 
            - narrate "<&e>U cant use it wait <&c><&l><player.flag[firevortex].expiration.formatted>" 
            - determine fulfilled 
            } 

    test:
          type: task
          debug: false
          script:
            - foreach ... {