Currently I'm trying to have the user select through a choice dialogue and have the values of these choices merged as in added together... (the choices are sourced from a JSON file that is parsed using jsonDecode). From there I would like it to create a new dialogue to confirm that the value chosen will be combined using a dialogue with yes or back. The issue I'm currently having is that the dialogue choice returns the indices rather than the values of the array itself... How would I go about getting the value info that the user has selected? Also how would I then grab specific portions of those values so that I can add the values together to create the new value.
A very simplified version would be
---------------------------------------------------------------
dialogue choice
Choose options to Merge
option 0 " random text 8 random text"
option 1 " random text 78 random text
option 2 " random text 1 random text
---------------------------------------------------------------
user selects option 0 and option 2
----------------------------------------------------------------------------------------
dialogue confirm
You selected the following.
" random text 8 random text" & " random text 1 random text"
------------------------------------------------------------------------------------------
Merge Go back