Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-06-19 21:27:34, last edited by Xfrogman43 (2015-06-20 00:12:42)

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Bots and signs (newline) [SOLVED]

You can't add \n to a sign using a bot.

\n is used to create newlines.

conn.Send(roomkey, 0, x, y, 385, "People: \n " + 1);

Becomes on the sign as:

People1

Could you perhaps change it to something else?
If anybody has a way around this that would be great.

Answer: (Provided by Thanel)

Thanel wrote:

You have to escape the backslash.
"People: \n 1" becomes "People: \\n 1"


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#2 2015-06-19 21:50:47

Thanel
Member
Joined: 2015-02-18
Posts: 713

Re: Bots and signs (newline) [SOLVED]

You have to escape the backslash.

"People: \n 1" becomes "People: \\n 1"

Offline

Wooted by:

#3 2015-06-20 00:10:41

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: Bots and signs (newline) [SOLVED]

Thanks thanel.


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

Wooted by:
Xfrogman431434755441514408

Board footer

Powered by FluxBB

[ Started around 1733305722.9272 - Generated in 0.033 seconds, 10 queries executed - Memory usage: 1.37 MiB (Peak: 1.47 MiB) ]