IQ command problem

Thank you! Also i have this command called slap and i want it to @ the user and also pick a random viewer if it’s left blank

!addcom -cd=5 !slap $(user) has slap the Fuck out of $(urlfetch https://decapi.me/twitch/random_user/$(channel))

How would i implement this code into My slap command

${decodeURIComponent($(querystring)).replace(/@/g,``)||$(urlfetch https://2g.be/twitch/randomviewer.php?channel=$(channel))} and ${r(a)} with ${r(b)}`).