mIRC Home    About    Download    Register    News    Help

Print Thread
Overwrite of $network #241289 03/04/13 05:25 PM
Joined: Dec 2002
Posts: 36
T
TC_Hessen Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Dec 2002
Posts: 36
Hi,

I'd like to have the possibility to overwrite the content of $network when using the /server command / option-gui.

The reason is simple. I use many irc-networks where I am online with two nicks - a normal user and an irc/network-admin-nickname. And I need different notify-lists for both nice.

But since $network is the same in this cases and the connected server can be the same, I cannot use two different notify-lists on one network.


cu

TC / Mario
Re: Overwrite of $network [Re: TC_Hessen] #241293 04/04/13 09:18 PM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
You don't want to change $network, you want to use something else to identify the different connection. Changing $network would break scripts that rely on identifying the actual network.

Sounds to me like you should probably script your own separate notify list, which wouldn't be hard at all using ON NOTIFY and ON UNOTIFY. You can add a "note" field to the user added in the notify list, so you can use that field to identify which user you want it to display in, and then create separate @windows to display the info.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"