Players With Spell
Description
Targets all online players who have learned the given spell.
The optional level attribute accepts a ranged value, so you can match an exact spell level or a range. Omitted means "any level."
Attributes
| Attribute | Aliases | Description | Default |
|---|---|---|---|
| spell | id, s | The spell to check for | required |
| level | l | The spell level to require, as a ranged value (e.g. >3, 2to5) |
(any) |
Examples
Skills:
- message{m="<gold>Your Fireball flickers."} @playersWithSpell{spell=Fireball}
- buff{...} @playersWithSpell{spell=Fireball;level=>5}
Aliases
- PWS
- playersKnowingSpell