Code: Select all
<!-- foo -->
[s,g,r:1d100]
Take out the comment and it works as expected.
Is this a known issue? If so, is there a workaround?
MT versions 1.4.0.5 and 1.4.1.7.
Moderators: dorpond, trevor, Azhrei
Code: Select all
<!-- foo -->
[s,g,r:1d100]
You need to hide the comment.Phergus wrote:So the following macro code produces the correct output on the GM's and macro-clicker's chat but also produces blank output lines on all the other clients.
This also happens with just the 's' roll option or just the 'g' roll option.Code: Select all
<!-- foo --> [s,g,r:1d100]
Take out the comment and it works as expected.
Is this a known issue? If so, is there a workaround?
MT versions 1.4.0.5 and 1.4.1.7.
Code: Select all
[h: "<!-- foo -->"]
Thanks FB. Hide the hidden output by hiding it. I should have expected that.Full Bleed wrote:You need to hide the comment.
http://lmwcs.com/rptools/wiki/Introduct ... o#CommentsCode: Select all
[h: "<!-- foo -->"]
In contrast, in MapTool's macro language, anything between the comment tags is hidden from chat, but if you embed macro commands in there, they will be executed.
Not sure that addresses the issue that even if I hide all output in a macro a single HTML comment will produce a line of empty output to all clients. My goal is to have comments in my macro code and apparently the documentation is flat wrong.aliasmask wrote:Better yet, use UDFs, hide output and use broadcast for output.
Thanks. I'll look over your stuff.aliasmask wrote:My starter token has all the basics for creating UDFs for you: http://forums.rptools.net/viewtopic.php ... er#p267681