mIRC Home    About    Download    Register    News    Help

Print Thread
$os with properties #270530 20/07/22 05:17 PM
Joined: Dec 2002
Posts: 2,027
R
RoCk Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,027
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?

Re: $os with properties [Re: RoCk] #270539 21/07/22 08:36 AM
Joined: Feb 2011
Posts: 412
K
KindOne Offline
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 412
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


irc.swiftirc.net #msl (mIRC Scripting Language)
Re: $os with properties [Re: KindOne] #270644 14/08/22 05:42 PM
Joined: Dec 2002
Posts: 2,027
R
RoCk Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,027
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; 14 minutes ago.