Skip to content

Commit

Permalink
update docs for SET_FIELDS to be explicit that it can delete fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragzouken committed Sep 20, 2024
1 parent 655375d commit bdae4e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/scripting-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ this constants and functions will not necessarily be available when writing plug
| `MOVE(event, location)` | move an event to a location
| `FIELD(event, name, type)` | get the first field of matching name and type from an event
| `FIELDS(event, name, type)` | get all fields of matching name and type from an event
| `SET_FIELDS(event, name, type, ...values)` | replace all fields (if any) of matching name and type with fields with the given values
| `SET_FIELDS(event, name, type, ...values)` | replace all fields (if any) of matching name and type with fields with the given values (or omit values to delete a field)
| `IS_TAGGED(event, name)` | check if an event has a tag
| `TAG(event, name)` | add a tag to an event
| `UNTAG(event, name)` | remove a tag from an event
Expand Down

0 comments on commit bdae4e6

Please sign in to comment.