forked from ModDamage/ModDamage
-
Notifications
You must be signed in to change notification settings - Fork 0
Conditional: Permission Evaluation
tenebraemaximus edited this page Nov 26, 2012
·
4 revisions
Syntax: {entity}.haspermission.{permission}
Description: Is true if the referred player has the permission. Useful for users who don't like the abstraction of groups.
Example:
Death: #battle.doubledamage, battle.halfdamage - what do you THINK they do?
- 'if attacker.haspermission.battle.doubledamage': '*2'
- 'if target.haspermission.battle.halfdamage': '/2'
Command
- 'givebadge &badgeget':
- 'if !sender.haspermission.kanto.pewter':
- 'if !sender.haspermission.kanto.cerulean':
- 'if !sender.haspermission.kanto.vermilion':
- 'if !sender.haspermission.kanto.celadon':
- 'if !sender.haspermission.kanto.fucshia':
- 'if !sender.haspermission.kanto.saffron':
- 'if !sender.haspermission.kanto.cinnabar':
- 'if !sender.haspermission.kanto.viridian':
- 'if !sender.haspermission.johto.violet':
- 'if !sender.haspermission.johto.azalea':
- 'if !sender.haspermission.johto.goldenrod':
- 'if !sender.haspermission.johto.ecruteak':
- 'if !sender.haspermission.johto.cianwood':
- 'if !sender.haspermission.johto.olivine':
- 'if !sender.haspermission.johto.mahogany':
- 'if !sender.haspermission.johto.blackthorn':
- 'if !sender.haspermission.hoenn.rustboro':
- 'if !sender.haspermission.hoenn.dewford':
- 'if !sender.haspermission.hoenn.mauville':
- 'if !sender.haspermission.hoenn.lavaridge':
- 'if !sender.haspermission.hoenn.petalburg':
- 'if !sender.haspermission.hoenn.fortree':
- 'if !sender.haspermission.hoenn.fortree':
- 'if !sender.haspermission.hoenn.mossdeep':
- 'if !sender.haspermission.hoenn.sootopolis':
- 'if !sender.haspermission.sinnoh.oreburgh':
- 'if !sender.haspermission.sinnoh.eterna':
- 'if !sender.haspermission.sinnoh.veilstone':
- 'if !sender.haspermission.sinnoh.pastoria':
- 'if !sender.haspermission.sinnoh.hearthome':
- 'if !sender.haspermission.sinnoh.canalave':
- 'if !sender.haspermission.sinnoh.snowpoint':
- 'if !sender.haspermission.sinnoh.sunyshore':
- 'if !sender.haspermission.unova.striaton':
- 'if !sender.haspermission.unova.aspertia':
- 'if !sender.haspermission.unova.nacrene':
- 'if !sender.haspermission.unova.virbank':
- 'if !sender.haspermission.unova.castelia':
- 'if !sender.haspermission.unova.nimbasa':
- 'if !sender.haspermission.unova.driftveil':
- 'if !sender.haspermission.unova.mistralton':
- 'if !sender.haspermission.unova.icirrus':
- 'if !sender.haspermission.unova.opelucid':
- 'if !sender.haspermission.unova.humilau':
- 'message.sender': "Too many Ifs"