You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1cec0ld edited this page Jun 6, 2012
·
8 revisions
Makes the entity run the given command. Viable entities include players and console.
Syntax
- 'command.{entity}': 'command [parameters]'
Examples
Damage: #Don't let them have the loot!
- 'if damage.greaterthanequals.target_health':
- 'command.console': 'clearinventory %{target_name}'
Death: #give overpowered kills vengeance
- 'if attacker.wearing._diamondSet and target.wearing._leatherSet':
- 'command.attacker': 'suicide'
- 'message.attacker': "Your cowardice causes you to die of shame"
Damage:
- 'if attacker.type.Zombie':
- 'if target.type.player':
- 'if chance.10':
- 'tag.target.infected': '+1'
- 'message.target': 'You have been infected by the zombie!'
- 'if target_tagvalue_infected >= 25 AND target_tagvalue_infecttag == 0':
- 'command.console': 'pex user %{target_name} suffix " [&4INFECTED&f]"'
- 'tag.target.infecttag': '1'
- 'if target_tagvalue_infected < 25 AND target_tagvalue_infecttag == 1':
- 'command.console': 'pex user %{target_name} suffix ""'
- 'tag.target.infecttag': '0'#Courtesy of Skuli