Problem with that is that it still won't make each connection a constant and unique connection. For example, running a connection called "ChatBot", to identify it's settings and responsibilities, I was using $network to make a unique identifier for variables and for timers and for saving information in .ini files. However, that only works for networks that don't specify a network name (and then I can make it what I want it to be via the name of the group in the servers listing). For those that do, that becomes a useless concept.
Some examples of what I am talking about....
>> set %kick.room $+(%,kicker.,$network,.,$1)
on some networks, $network would be ChatBot (as I set it, and for different connections would be whatever else I set it) However, on a fixed-name system, it's always 1 name, so it's almost pointless to have the $network variable in there. With $1 being the name of the room, I need the above variable to look like this:
%kick.room %kicker.ChatBot.#RoomName
(or if it's on a bot, say WolfieBot)
%kick.room %kicker.WolfieBot.#RoomName
Of course, my variables are a little more complex but you get the idea. The same is also true for making timers.
If I understand $cid correctly, one time, the $cid for one connection could be 1, the next time it could be 5 or 6 or 10 (although on fixed connections, it *should* always be constant, but for times when that isn't the case...)
For the timer function, I can see that $cid is actually a wonderful solution to the problem. Yeah I might not know what timer is which by seeing something like "NickCheck.1" instead of "NickCheck.ChatBot" but since timers are not carried over from one session to the next, I think I can learn to deal lol
As a temporary solution, I have actually made use of the $cid, although it has been a little sloppy. Other mehods I have attempted to try (and the problems I have encountered) have been to use the real name field to put the fixed name in there (so the first line of a whois will show the "nick [email]email@host[/email] nick" but then I can't use that field for things like advertising my site
If there was either a way to grab the group name of the specific connection, or a variable that could be set (like with the /server command) that wouldn't affect the whois but would still remain fixed even during disconnects/reconnects, that would be wonderful.
However, if there is an added trick behind $cid that I am majorly not seeing, please do fill me in.