Paste #4157: Spawn Guard

Date: 2014/05/06 18:38:41 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


http://mcmonkey.org/hasteSpawn Guard: 
  type: assignment
  interact scripts:
  - 100 spawnwipe
spawnwipe:
  type: interact 
  steps:
    'Just Sayin Shit': 
      click trigger:
        script:  
        - narrate 'Calls the guards to clear the mobs!'  
        - foreach <player.location.find.entities.within[15]> {  
          - if <%value%.is_mob>  
              chat 'Removing %value%'
              remove %value%  
            }