|
unrealtor Beginner
Joined: 23 May 2020 Posts: 19
|
Posted: Thu Jul 29, 2021 8:36 pm
Can class children like Alias be gathered for looping? |
An example of the desired effect, I have a class folder with all my aliases that relate to lock/unlock/close/open doors and I would like to create a new alias that calls the class Doors and collects the aliases within, so they can be looped and displayed.
I cannot seem to find a method that will call a class object in a way where I can access its child objects. Is this possible?
Thanks! |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Thu Jul 29, 2021 9:20 pm |
Not that I can think of...
The closest I can think of is just using #ALIAS all by itself.
(Which displays all currently enabled aliases.)
But that would only work if all of your aliases are grouped off into toggleable classes. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
hpoonis2010 Adept
Joined: 18 Jun 2019 Posts: 279
|
Posted: Fri Jul 30, 2021 6:12 pm |
Something a that may work would be to have a var that contained names of all your aliases. Either a flat string list or db-wise, class as key and list of aliases as values.
Which you can then loop through. This could also give you a semi-automated method of enabling/disabling. |
|
|
|
|
|