mIRC Home    About    Download    Register    News    Help

Print Thread
#125456 18/07/05 08:00 AM
Joined: Jul 2005
Posts: 1
T
Mostly harmless
OP Offline
Mostly harmless
T
Joined: Jul 2005
Posts: 1
ok, i found this bug (if it is a bug) while i was making a custom switchbar when i noticed, whenever i closed out a server window, and opened up a new one, the $activecid would return the number of the last active cid plus one, and would continue to increase, even if you had disconnected and closed the other server window. and ideas on what may be causing this?

#125457 18/07/05 09:27 AM
Joined: Dec 2002
Posts: 83
D
Babel fish
Offline
Babel fish
D
Joined: Dec 2002
Posts: 83
It is not a bug. It is the normal work of all server windows in mIRC. For each server window opened, mIRC increment une new ID, but don't fill old IDs which has closed in the past.

It is the reason of the utilisation of two identifiers as $scon and $scid. The last is based on the ID and the first on the number of servers window which give the ID owned by the server window pointed.

Last edited by dunkelzahn; 18/07/05 09:29 AM.

Link Copied to Clipboard