Aug-23-2019, 02:51 PM
Yes. You probably would want a list of the roles. Then you could split the string at the colon and check if it's the right role. You would need a tracking variable to note that you are on the right role to get the following lines (like the second one in your example).
Note that we're not going to write your code for you, but we'll be happy to help you fix your code if you show it to us and clearly tell us what's wrong. But what I said above should get you started.
Note that we're not going to write your code for you, but we'll be happy to help you fix your code if you show it to us and clearly tell us what's wrong. But what I said above should get you started.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures