ID:259700
 
Im using a series of alerts() before logging into my game-im sure most of you are fluent with alerts- and I was just wondering, is there ANY way at all to insert a linebreak? If this is too confusing heres an example...
///////////////////////////////////////////////////////////
User logs in...

User is alerted...

Welcome to So and So

User is alerted...

Programmed by So and So
Illustrated by So and So
Powered by BYOND
///////////////////////////////////////////////////////////
Notice how these lines are all one under eachother. All in one alert. If you have any ideas please post them. Thanks a bunch, The Conjuror.
/n
In response to Goku72
\n, actually.

\t for tab

\... is the opposite of a line break, where the line continues where it would normally break.
In response to Foomer
Do'h I knew it was similar. I always get confused between which back slash to use :-\
In response to Goku72
The backslash is a specific slash. =) \ and / are both slashes, but \ is the backslash (because it leans backward) and / is the forward slash (because it leans forward).
In response to Crispy
I just remember to use \ because it connects with the dots in \... :P
The Conjuror wrote:
Im using a series of alerts() before logging into my game-im sure most of you are fluent with alerts- and I was just wondering, is there ANY way at all to insert a linebreak?

As others have said, the answer is yes, but the real question is why you'd use alert() for such a purpose. It's a pretty ugly interface item, and fairly intrusive because it gets in the way of what the player is trying to do. You're a great deal better off switching to a browser window (popup or otherwise), which looks more professional.

Lummox JR