!fight command not working?

So i have been trying to setup a fight command for my friends chat however it isnt working I used this to try and setup the command !addcom !fight $(eval u=$(user); t=$(touser);r=$(urlfetch json https://www.pastebin.com/raw/zRDj2X54).split(|); r[Math.floor(Math.random()*r.length)]:wink: When ever the command is activated nightbot either responds with Sentence_2_$(u) Is the Victor!!!
or Sentence_1_$(u) couldn’t take $(t) Smoke! If you know how to fix this please reach out!

Hey @abuelita_is_pog!

Simply remove Sentence_1_, Sentence_2_, and the last | (at the end of your second sentence).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.