concepts:groups:tags
Tags
Tags are simply a collection of strings associated with a group - they are used to tailor the experience of a group based on factors occurring earlier. They are created using a hashtag in the group's chat.
For example:
- A group has a choice of two options in a zone2 - option1 and option2
- Based on their interactions, one of these two commands will be fired:
message_chat: zone2.groupid | #option1
1)message_chat: zone2.groupid | #option2
- As a result, one of the two tags,
option1
oroption2
, will be written to the tag collection for the group in zone2 - Later, in zone4, we want to change content based on this decision, so we use:
(zone4.group^option1) command1:
(zone4.group^option2) command2:
Two things to note:
- A tag must start with a hash (#) and end with a space, an cannot contain spaces
- The hashtag
#cleartags
will remove all tags from a group
Tags can also be set against Zones using that zone's chat.
1)
see here for details on the special variables associated with zones
concepts/groups/tags.txt · Last modified: 2024/09/20 07:47 by 127.0.0.1