Is there any kind of reflection built in to mudlet?

Post Reply
User avatar
henry
Posts: 1
Joined: Thu May 25, 2017 11:05 pm

Is there any kind of reflection built in to mudlet?

Post by henry »

Hello. I'm new here.

Question is in the title,
but just to clarify what I'm trying to do:

I'm faking gmcp events clientside to create better support for scripts.
maintaining the namespace is work and thus makes the structure inflexible,
is there a way of making the namespace generation happen via code at runtime?

Image

I'd like to access the information about the folder structure that can be seen in the triggers window. It would be fantastic to just have on snippet of code at the root of Events that would generate the namespace based on whatever the folder structure happens to be.

Thanks :geek:

User avatar
Vadi
Posts: 4901
Joined: Sat Mar 14, 2009 3:13 pm

Re: Is there any kind of reflection built in to mudlet?

Post by Vadi »

Hello!

You've got http://wiki.mudlet.org/w/Manual:Mudlet_ ... ons#exists and the perm* family at http://wiki.mudlet.org/w/Manual:Mudlet_ ... #permAlias. Nothing to get the children/parents, mostly as there hasn't been a need - people usually create their own stuff so they know what's there, or if they're using someone else's stuff, events are available for cross-script communication.

Let me know if that helps!

Post Reply