Paste on your remotes (Alt + R), type /blacklist to see the dialog manager.
Your while loop is set up in a bad. You should perform checks to make sure your reading actual lines of the text file
This is yours:
while ($read(blacklist.txt,%blacklist) != $null) {
did -a blacklist 6 $read(blacklist.txt,%blacklist)
inc %blacklist
}
A better one should be:
while (%blacklist <= $lines(blacklist.txt) {
did -a blacklist 6 $read(blacklist.txt,%blacklist)
inc %blacklist
}
The $lines identifier returns the number of lines in a text file. Although both formats will still grab everything from a txt file, this is a cleaner way of doing it
instead of using: \"($did(5).text == $null)\"
i suggest using: \"(!$did(5))\"
Justification: the .text is not needed, as said in /help. (it\'s the same as using \"$did(id)\") Also, the \"!\" infront of the the \"$\" acts similar to \"if v1 == $null\" but i have seen cases where that has become a problem, so that is why i suggest \"!$did(id)\". Another thing; to keep \"professionlism\" try not using curse words in your snippets