the problem was originally described as dropping everything after the hyphen, $gettok(network-name,1,45), so I was looking for the missing hyphen. There are many hyphenated networks that don't have this problem.
//echo -a *** $scid($cid).status $network
*** connected German-Elite
*** disconnected German-Elite
*** connected Scifi-Net
*** disconnected Scifi-Net
*** connected Serenity-IRC
*** disconnected Serenity-IRC
*** connected starlink-irc
*** disconnected starlink-irc
*** connected Immortal-Anime
*** disconnected Immortal-Anime
Because the only 2 networks identified so far with the problem are DeluXe-IRC.Net and the-c0la-network - perhaps the problem happens only when it contains more than 1 of hyphen+period.
I did confirm that the irc.c0la.se and irc.deluxe-irc.net networks did have the same problem in mIRC 6.16.
edit: I did notice that the ON DISCONNECT event still contains the correct $network name, it's only after disconnect that it's chopped.
Last edited by maroon; 12/08/06 02:44 PM.