What I am trying to do is take apart Token manager a bit. I like the Frame, I like the fact that it can get my properties and display the values, but I dont need a page with macros. I would like to replace the Macros page with a "getNotes" page, and make it so that the Properties appear in the order I have them in Campaign properties. This is ultimately for my framework, so id rather it use a system like Token Manager than for every DM having to recode for their token properties setup.
My confusion comes from the fact that i cant figure out which of the macros on the Token Manager does what. Mainly because I dont quite get JSON yet.
Quick Edit: This bit of code is what I was originally working with, and other than "getProperty(name)=" it shows a bit of what im trying to do with the properties, i hope.
Code: Select all
[frame (getName()): {
[h: names = getPropertyNames()]
[foreach(name, names, "<br>"): getProperty(name)]
}]
Still learning macros, so anything in my code I could do in a simpler way would be appreciated.