#Discussion on 'macro questions forum'

1 messages · Page 1 of 1 (latest)

lilac remnant
#

Any questions remarks etc can be discussed here. One question @here: i can create 'tags' which you can add to the post. Those tags makes it easier to find certain categories of questions. Now I can only think of one category as this is macro questions. But if anyone has some solid ideas for tags (IDK...math, ui, json, input, output, general, etc. ) let me know and then ill create those.

reef mountain
#

I think json and javascript should have their own categories, because both get pretty obscure pretty quickly. If you want a bunch of tags, look at the subcategories on the Macro Function page in the wiki.

lilac remnant
#

so typed in a long message, got distracted, lost it, few days later...

are you saying that json and js should have there own topic or are you saying that there should be three tags here: js, json and mt ?

the categories doesn't really sound like a great idea as many questions are about ' how do you do this' which makes it rather hard to decide what tag belongs to that. but perhaps others have thoughts?

loud sage
#

Can tags be easily added after posting? If so, how about a "Resolved" tag?

#

Or a "Bug" tag when something can't be resolved because of a bug...

#

And do you have any power over format? I'd prefer that new posts and posts with new responses were bold while old ones weren't. The little "new" in posts doesn't stand out all that much to me.

lilac remnant
#

good points on the tags, not sure if its possible to use them in that way, but we'll find that out. And afaik: i have no influence on the format

lilac remnant
#

ah found it: right click on the post and then add it! So yes you can add them post post. Im curious though if YOU can add them. lemme know!

loud sage
#

I don't see a way to add a tag. So probably author only.

lilac remnant
#

on the topic itself and then right mouse click and edittags

#

i can do it for all but im cheating...

woven finch
woven finch
#

The OP gets that option tho

lilac remnant
#

ok so op only.

lilac remnant
lilac remnant
unique igloo
#

Anyone ever considered a stackexchange? It would be very handy for macro questions, and with the voting and rating system, one could objectively compare answers. Plus it would be searchable.

dense junco
#

That’s a much better idea than trying to force discord into something it isn’t.

loud sage
unique igloo
loud sage
unique igloo
#

I would imagine, there's at least a subset of users already using rpg.stackexchange.

hexed pier
#

As part of my channel cleanup project, I'll be opening up this channel to general scripting questions (so macros, HTML5, GraalJS, or aything else).

Also a (very late) reminder that this post is for discussing the channel, not asking for support. Please make separate posts if you have questions about MapTool. I'll be cleaning up some of the above discussion shortly.

zealous totem
#

So, just to make sure before I post, questions about macro constructions would be here with the "macro" flag, correct?

exotic bridge
#

I must be doing something Wrong, I am not able to get Frames to work with Rollcount and Code.
[Frame("Tavern"): {
<TABLE>
<TR>
<TD>

[R,Count(2d6, " "),CODE:{
This throws an error
   Error in body of roll.       Statement options (if any): Frame("Tavern")       Statement Body (first 200 characters): { [R,Count(2d6, " "),CODE:{ [H:racetest=tbl("bestrace")] [H:genders=1d2] [R,if(genders==1),CODE:{ Gender: Male Name: [R:FirstName=tbl("MaleNames")] };{ Gender: Female [R:FirstName=tbl("
But if I do not have it in a Frame, It works Fine.

zinc talon
exotic bridge
#

what I am trying to do is roll random NPC's 2d6 Worth, With Names along with Genders

zinc talon
exotic bridge
#

Yeah it was working there, Once it hit frame, it dies. Which is why I was confused

#

Thinking Maybe its too... My brain ? Trying to dumb it down

reef mountain
#

As @Tucker71 suggested, it might be easier to do everything outside the frame, saving the HTML for the frame in a variable, and the only thing inside the frame is the [r:result]. In my experience, that's preferable anyway, because it makes it easier to debug because you can build it one piece at a time.

loud sage
clear sky
#

From a debugging standpoint, it may be easier to generate the frame content separately and then embed it within the frame. That lets you display the content separately to ensure that it has the structure/values that you want...

exotic bridge
#

Thanks. I will try that