whenPermitSkill

From OpenKore Wiki
Revision as of 02:20, 9 January 2010 by EternalHarvest (talk | contribs) (merge)
Jump to navigation Jump to search
whenPermitSkill [<skill names>]
If this option is set, the block will only be used when you have been granted use of the specified temporary skill.
whenNotPermitSkill [<skill names>]
If this option is set, the block will only be used when you have not been granted use of the specified temporary skill.

Examples

doCommand ss 28 5 {
	whenPermitSkill 1
}
Use Heal level 5 when Kore is permited to use the skill.
doCommand is Level 5 Heal {
	whenNotPermitSkill 1
}
Use item Level 5 Heal when Kore is not permited to use the skill, as it doesn't have.