Author Topic: is this possible?  (Read 1694 times)

0 Members and 1 Guest are viewing this topic.

Offline kepp

  • Scripter
  • King
  • ******
  • Posts: 790
  • Karma: +2/-0
is this possible?
« on: 08 November, 2003, 15:36:43 »
allright, let's say
i have a line like this
user:SendData("Hello bla bla bla bla\t\t\t\t\t and this will go on forever")

my question is: can i break it at the midle somewhere?
like:

user:SendData("Hello bla bla bla bla
\t\t\t\t\t and this will go on forever")
Guarding    

PtokaX forum

is this possible?
« on: 08 November, 2003, 15:36:43 »

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #1 on: 08 November, 2003, 15:42:55 »
use \r\n

\r = read

 \n = new row or line



like this:

user:SendData("Hello bla bla bla bla\r\nand this will go on forever")


/NightLitch
//NL

Offline Tuben

  • Fulll Member
  • ****
  • Posts: 68
  • Karma: +0/-0
(No subject)
« Reply #2 on: 08 November, 2003, 17:00:01 »
If you mean in the script like this.

Temp = ""..
curUser.sName..""

The try.

user:SendData("Hello bla bla bla bla\t\t\t\t\t and"..
.."thiswill go on forever")

Or like he says. \r\n New \t tab
« Last Edit: 08 November, 2003, 17:00:48 by Tuben »
-Dark-Mind-[ DOWNLOAD ]

PtokaX forum

(No subject)
« Reply #2 on: 08 November, 2003, 17:00:01 »