It seems like you overcomplicate things here, first of all you don’t need the $(urlfetch), and your if will always evaluate to false, because 1 will always be smaller than 2.
I assume you want people to have a 50/50 chance to respectively earn or lose 12 points. Here’s a simple solution:
Ah, I see, that’s different then. It’d have been better if you’d have given me the full picture right at the start, this way we would have solved this much faster.
This isn’t possible to do what you’re looking for with a multiple message API, as it won’t “remember” who the $(user) is on the second message, sorry.
Are you sure you couldn’t do this? I’m pretty sure it does retain info like $(1) I know from past experience. Though I’ve never tested the user variable I would assume it to work similar. I’ll test it later tonight when I have time.