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
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
it echos as "test" instead of "checked test"
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?

i made a chat bot for mark_paintball!