So I'm very, very new to coding and have absolutely no experience at all. I've come to understand the very basic stuff in mIRC, but somethings I'm just not getting. I've managed to make a custom twitch chat bot using tutorials on youtube and have got it working for the most part. I just can't seem to get !addquote or !addjoke to work. I had them working originally and all they would add was the first word of the sentence that I would type. No they aren't working at all.
The code I'm using is:
Code:
on *:TEXT:!addquote *:#: {
  if ($nick !isOp #) { return }
  write quotes.txt $2- $+
  msg $chan Added: $2-
}


Edit: I should also mention that it is not automatically adding the quote.txt file. And when added manually, it will still not recognize or write into that file.

Any advice or help would be greatly appreciated!
Thank you!

Last edited by lukar14; 31/07/15 02:33 AM.