mIRC Home    About    Download    Register    News    Help

Print Thread
#270530 20/07/22 05:17 PM
Joined: Dec 2002
Posts: 2,028
R
RoCk Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,028
Since the addition of properties for $os, an alias beginning with OS. will no longer work. Is there something that can be done about this?

Joined: Feb 2011
Posts: 424
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 424
Quote
Note: Built-in identifiers of the same name have priority.


Quote from the "Custom Identifiers" section of the mirc.chm help file.

You have to rename the alias.

https://forums.mirc.com/ubbthreads....-warn-collision-w-new-identifier-command

https://forums.mirc.com/ubbthreads.php/topics/267312/min-max

https://forums.mirc.com/ubbthreads.php/topics/265240/need-code-help

Joined: Dec 2002
Posts: 2,028
R
RoCk Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,028
Thanks for the links. I guess I was hoping that there was a way to maintain backward compatibility, since it's not just one alias, it's a lot of aliases in a widely distributed script. Maybe if a property doesn't exist for $os, just pass it on to aliases (or something)? It worked before properties were added for $os.

Last edited by Khaled; 17/08/22 11:06 AM.
Joined: Dec 2002
Posts: 5,244
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,244
Quote
Maybe if a property doesn't exist for $os, just pass it on to aliases

That sounds reasonable. In general, identifiers with properties don't work like this, but I can add an exception to $os to maintain backward compatibility in this case. This change will be in the next version.

Joined: Dec 2002
Posts: 2,028
R
RoCk Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,028
Thank you. And thanks for the edit lol.


Link Copied to Clipboard