- Joined
- Apr 16, 2010
- Messages
- 21
I looked around and couldn't really find a simple explanation of how substrings work in the WE. The example they give in the trigger editor for substrings is:
Unfortunately, I can't figure out at all what this means. What I'm trying to do is make a resource trading trigger that uses entered chat strings from players as the trigger event and values of the trigger. So if anyone could enlighten me as to how substrings work and point me in the right direction for making this trigger, I would greatly appreciate it!
Example: Substring("Grunts stink", 2, 4) = "run".
Unfortunately, I can't figure out at all what this means. What I'm trying to do is make a resource trading trigger that uses entered chat strings from players as the trigger event and values of the trigger. So if anyone could enlighten me as to how substrings work and point me in the right direction for making this trigger, I would greatly appreciate it!