I have my doubts that this is possible, but I figured I'd check with all of you first. I was working on making a !free command for a jail in our stream and I found out you can use raw pastebin files with urlfetch to make long lists of outcomes. I have plans to make a long JSON list of outcomes but I tested it first with a short list and nightbot interprets the $(user) and $(touser) as part of the string. I probably should have expected this but alas. Is there any way to differentiate those variables from the rest of the string?
Here is the command I tried out
$(eval a="$(urlfetch https://pastebin.com/raw/kq672UpF)".split(";"); b="$(urlfetch https://pastebin.com/raw/VjttXd7d)".split(";"); c=a.concat(b); c[Math.floor(Math.random() * (c.length-1))];)