Listener Owner (Expression) — skLambda
Addon: skLambda · Category: Expression · Since: 1.2.0
Syntax
[the] owner of %listener%Description
The owner a listener was scoped to via its `owner:` entry, or nothing if it has none. Forms: `owner of %listener%` and `%listener%'s owner`.
Examples
set {shield} to listener for block break:
owner: player
on trigger:
broadcast "broken by %owner of {shield}%"
register {shield}