So i'm trying to use an IP scanner for an auto-voice script based off of IP's instead of nicknames, but I can't seem to get the isin identifier to find the ip in the text document. I simplified the code to the following alias
Code:
alias test {
    if ($2 !isin goodips.txt) { echo -a $1 $2 | return }
    echo -a checked $1 $2
}

If my text file looks like

then i try
/test test 1.1.1.1
it echos as "test 1.1.1.1" instead of "checked test 1.1.1.1"
i used this method before in >7.36, but now it seems to not work. Is there an alternative for this or an alternative for storing AND checking the ip's?


#imAbeginner
i made a chat bot for mark_paintball! http://twitch.tv/mark_paintball