It's a chance on UDPWRITE is properly documented in the help file!!!
according to uhelp.chm , on UDPWRITE is not triggering, and indeed, I couldn't get it to work. on sockwrite actually works for UDP, I'll use thatI stated it wasn't triggering on sockclose.
I'll try adding a $sockerr check after each udp command and inside on
udpwritesockwrite, however, if I stated previously I could reproduce all the time, that was actually with a specific person connected, I can't reproduce just like that otherwise.
I still strongly think it's related to letting the udp socket idling: that's actually the only way I have ever reproduced it. After idling, just one /sockudp from the server would cause the socket to no longer exist.