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.
line breaks not hiden to players
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.
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.
Re: line breaks not hiden to players
Perhaps if, instead of
you put in
(Is it g: that gets you GM only? If not, you should be able to figure out what I mean.)
Code: Select all
<BR>
Code: Select all
[g:"<BR>"]
Re: line breaks not hiden to players
no good
[g:"<br>"]
gets
player1: Presentation results « " " = " " = »
[g:<br>]
gets
java.lang.NullPointerException error executing expression .
<br>
players see
[g:"<br>"]
gets
player1: Presentation results « " " = " " = »
[g:<br>]
gets
java.lang.NullPointerException error executing expression .
<br>
players see
Re: line breaks not hiden to players
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.
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.
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: line breaks not hiden to players
[g,r: "<br>"] worked
thank you all for your help
thank you all for your help