When an announcement is posted by a urlfetch, can I put multiple messages on multiple lines
for example, when you now use
!winner
nightbot will say
“And the winner is…”
Dylanpiera!
however when i’d do
!test
which executes
<?php
echo "Nightbot says hi.";
echo "And so I do again.;
?>
which gives in chat:
Nightbot says hi.And so I do again.
and I want:
Nightbot says hi.
And so I do again.
Is this possible in any way?
Owyn
2
Short answer, no. You’re not able to do multiline output from a custom API or text formatting.
In conjunction with Owyn’s answer Night has responded about multi-line messages here
What you can do is to format a line with underscore like
Name______Nindento_______Date_______
Myname____Ninname_______2016-05-09_
By this way you will see a bit of more clearly different lines.
However don’t forget that your output is limited.
system
Closed
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.