Hi, I’m new to this place.
I found a way to use the split function on the “eva” variable
Input in twitch chat
!foo bar/anything
command
$(eval const values = "$(querystring)".split("%2F"); values)
Note: You need to be aware of the ### encoding reference to be able to make the split
Output
foo,bar,anything
I have used these values with the urlfetch in the following way:
$(urlfetch $(eval const values = "$(querystring)".split("%2F");
const currency1 = values[0];
const currency2 = values[1];
const value = values[2];
const url = "https://decapi.me/misc/currency?from=" +currency1 + "&to=" + currency2 + "&value=" + value; url))
I hope it has been helpful