mIRC Home    About    Download    Register    News    Help

Print Thread
#249760 14/12/14 11:22 AM
Joined: Dec 2014
Posts: 3
N
Necro Offline OP
Self-satisified door
OP Offline
Self-satisified door
N
Joined: Dec 2014
Posts: 3
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.
}

Last edited by Necro; 14/12/14 11:23 AM.
Joined: Jun 2014
Posts: 248
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Jun 2014
Posts: 248
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. }
}


Link Copied to Clipboard