Date: 2014/06/03 11:39:46 UTC-07:00
Type: Denizen Script
# A copy-paste from one of my scripts... it does nothing.
'NPCFlagChangeEvents':
type: world
events:
on npc flag changed:
- define flag <context.name>
- define npc <context.owner>
- define oldFlagValue <context.old_value>
- define flagValue <def[npc].flag[<def[flag]>]>
- announce "<&d><def[npc]> changed <def[flag]> to <def[flagValue]> from <def[oldFlagValue]>" to_flagged:admin