so i have this math api http://twitch.center/customapi/math?expr=$(querystring) and im wondering if i can grab the data from it, check if its higher or lower than a given number and if it is higher than said number then it will have a 7030 chance of saying (70%) the solution or (30%) "math is hard", but also if the number is lower than the given number then it will be a 5050 chance to say the solution or "math is hard".
tbh im not at all sure if it is possible so this may just be a waste of time, but if it is possible and someone can tell me what it is, it would be greatly appreciated
atm the command line for just a 5050 split of solving the equation or saying "math is hard" and its this...
$(eval Math.round(Math.random())?$(urlfetch http://twitch.center/customapi/math?expr=$(querystring)):math is hard)
yes i know its overly complicated and prolly not really worth it but it would be a nice novelty command, thanks if anyone can help me with this <3

