line breaks not hiden to players

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
Post Reply
Garfnob
Kobold
Posts: 11
Joined: Sun Aug 27, 2017 8:12 pm

line breaks not hiden to players

Post by Garfnob »

i have a macro that rolls for the GM and the output is only visible to the GM.

the problem is the line breaks "<br>" are showing on the players screens witch gives the fact that the GM made a roll.

taustinoc
Dragon
Posts: 518
Joined: Mon Aug 03, 2015 6:30 pm

Re: line breaks not hiden to players

Post by taustinoc »

Perhaps if, instead of

Code: Select all

<BR>
you put in

Code: Select all

[g:"<BR>"]
(Is it g: that gets you GM only? If not, you should be able to figure out what I mean.)

Garfnob
Kobold
Posts: 11
Joined: Sun Aug 27, 2017 8:12 pm

Re: line breaks not hiden to players

Post by Garfnob »

no good

[g:"<br>"]
gets
player1: Presentation results « " " = " " =  »

[g:<br>]
gets
java.lang.NullPointerException error executing expression .

<br>
players see
Capture.GIF
Capture.GIF (1.37 KiB) Viewed 439 times

User avatar
aliasmask
RPTools Team
Posts: 9031
Joined: Tue Nov 10, 2009 6:11 pm
Location: California

Re: line breaks not hiden to players

Post by aliasmask »

Try [g,r: "<br>"]

Also, is the code being executed with a macroLink. If the macroLink has output set to "all" it will output a blank line even with no output. Also, if you have html comments it'll show a blank line because it does have ouput, but not normally seen output. If you were to save the chat log, you could then see the html.

Garfnob
Kobold
Posts: 11
Joined: Sun Aug 27, 2017 8:12 pm

Re: line breaks not hiden to players

Post by Garfnob »

[g,r: "<br>"] worked

thank you all for your help

Post Reply

Return to “MapTool”