Hi all,
Im fairly new to the whole IRC scripting but i'm getting better by the day as i sort of enjoy it.
Now i've stumbled upon a problem and i need help if anyone is kind enough.
I've created a bot which works great but im stuck with one command which im not able to find out.
For example i want to say this command
!kill (nick)
And the response is in 2 lines for example
Me: !kill blabla
Bot: Firzen killed blabla
Bot: Firzen could not contain blabla's backfire
But i want it to be a random response of the bot, ive read trough the forum about $random and putting this in .txt file but that is only 1 line response that the bot will give.
I want the bot to give random responses such as this one or the one mentioned above or more similar responses like this.
Me: !kill blabla
Bot: Firzen shot blabla but he survived.
Bot: Blabla shot back but missed Firzen completly.
This is where im stuck, i only can get one response back from the bot and not random respones, im sure there is such a thing as ive seen it on other channels but it doesnt work for me
Sorry for the long read.
Thanks in advance