GINA tags
Posted: Fri Jan 18, 2019 4:54 pm
There's been some discussion recently on GINA variables/tags. While GINA uses a parsing method called perl regular expressions, it does have some reserved characters for use within triggers that are very useful.
Here's a link to the GINA forum where the author posted some of the most useful tags that you can use very easily (such as replacing a name in an emote with a character name {C} or a generic variable {S#}).
http://eq.gimasoft.com/forums/viewtopic.php?f=7&t=23
Here's a snip of the most commonly used tags from that post if you just want the tl;dr:
{C} - This is replaced with the character's name, and can be used in Search Text, Display Text, Text to Say, and Timer Name fields.
{S} - This is a wildcard that can match any string. This can be used in Search Text, Display Text, Text to Say, and Timer Name fields.
{S1}, {S2}, etc -- Work the same as {S}, just gives you more wildcards.
{N} - This is a wildcard that matches a number. If you only want the trigger to match if the number meets a certain critera, you can use syntax such as {N>=50000} and the tag will only match if the number is greater than 50k. This can be used in Search Text, Display Text, Text to Say, and Timer Name fields. (The >=50000 portion should only be used in the Search Text field. Just use {N} in the rest of the fields.)
{N1}, {N2}, etc. -- Work the same as {N}, just gives you more wildcards.
- Dray
Here's a link to the GINA forum where the author posted some of the most useful tags that you can use very easily (such as replacing a name in an emote with a character name {C} or a generic variable {S#}).
http://eq.gimasoft.com/forums/viewtopic.php?f=7&t=23
Here's a snip of the most commonly used tags from that post if you just want the tl;dr:
{C} - This is replaced with the character's name, and can be used in Search Text, Display Text, Text to Say, and Timer Name fields.
{S} - This is a wildcard that can match any string. This can be used in Search Text, Display Text, Text to Say, and Timer Name fields.
{S1}, {S2}, etc -- Work the same as {S}, just gives you more wildcards.
{N} - This is a wildcard that matches a number. If you only want the trigger to match if the number meets a certain critera, you can use syntax such as {N>=50000} and the tag will only match if the number is greater than 50k. This can be used in Search Text, Display Text, Text to Say, and Timer Name fields. (The >=50000 portion should only be used in the Search Text field. Just use {N} in the rest of the fields.)
{N1}, {N2}, etc. -- Work the same as {N}, just gives you more wildcards.
- Dray