I figured this would be hard to reproduce.

Basically once raw 321 (Channel :Users Name) is received it opens the /LIST window.

Sending raw 321 to myself resulted in this, but the window couldn't be closed.

The only way to close it was to receive a raw 323 (:End of /LIST) reply.

That said, getting raw 321 on top of 321 also results in being unable to delete the .txt file, even after getting a 323 reply and closing the window.

Code
on *:socklisten:test:{ sockaccept testSock }
on *:sockread:testSock:{
  var %test = $null
  sockread %test
}


* /socklisten test 6667
* Connect to localhost 6667
* //sockwrite -nt testSock :fake.name 001 $mnick :Welcome to the localhost Network, $mnick
* //sockwrite -nt testSock :fake.name 321 $mnick Channel :Users Name
* Disconnect, 321 upon 321, etc.

* To close the window, you'll need to do this when connected: //sockwrite -nt testSock :fake.name 323 $mnick :End of /LIST

Last edited by Jigsy; 05/07/21 04:22 PM. Reason: Fixed 001.

What do you do at the end of the world? Are you busy? Will you save us?