mIRC Homepage
Posted By: Necro Condensing script help. - 14/12/14 11:22 AM
I am wanting to condense my code down. I do not know how to make it where instead of using so many do *:text:(words):#: it just reads from a file and if a line matches the phrase it will auto respond. Also if you can help can you give me a description on what is going on where i can lean. Thank you All

on *:text:*do 1987*:#: {
if (%flood) { return }
set -u10 %flood On
msg $chan $nick ... does not use 1987 unless he is switching games or ending stream. It shows a Golden Freddy Face and then crashes the game.
}

on *:text:*you should try 1987*:#: {
if (%flood) { return }
set -u10 %flood On
msg $chan $nick ... does not use 1987 unless he is switching games or ending stream. It shows a Golden Freddy Face and then crashes the game.
}
Posted By: Belhifet Re: Condensing script help. - 14/12/14 12:12 PM
Code:
on *:text:*:#: {
if (%flood) { return }
set -u10 %flood On
if (1987 is in $1-) { msg $chan $nick ... does not use 1987 unless he is switching games or ending stream. It shows a Golden Freddy Face and then crashes the game. }
}
© mIRC Discussion Forums