What does 'not work' mean? Does it do 'nothing' or 'wrong thing'? Nothing in my code referenced any $network name, so if it doesn't 'work' at another network, it could be not sending the MOTD, or using something besides 372 to send the MOTD.

You can also try temporarily flooding your @debug window to snoop at the hex content of messages going to/from the server. If the 44/52 colors don't contrast against your background, you can change them. Typing /debugghex will begin logging all traffic to/from the $server attached to that window, so do that before reconnecting to see the handshaking.

Code:
alias debugghex { window -ze2Dj5000k @debug | titlebar @debug active= $+ $scid($window(@debug).cid).network logging: $addtok($gettok($window(@debug).titlebar,3-,32),$network,32) | debug -pir44o52 @debug $!+([,$time,],[,$network,] $!debuggsubhex($ $+ parms)) } ; Raccoon's altered by maroon

alias debuggsubhex { return $1 hex: $regsubex(junk,$1,/(.)/gu,$base($asc(\1),10,16) $+ $chr(32)) }