Jump to content

Cambiar Renglon


Recommended Posts

hola ise este script que guarda una informacion en un txt pero me la guarda mal.... osea me la guarda asi:

HulkingCrocodile58 (Narutimmy) envio 10 Reputacion a HulkingCrocodile58HulkingCrocodile58 (Narutimmy) envio 10 Reputacion a HulkingCrocodile58 

Y lo que yo quiero es que la guarde asi:

HulkingCrocodile58 (Narutimmy) envio 10 Reputacion a HulkingCrocodile58 
HulkingCrocodile58 (Narutimmy) envio 10 Reputacion a HulkingCrocodile58 

local file = fileOpen("REP.log") 
if not file then 
file = fileCreate("REP.log") 
outputDebugString("Creating REP.log") 
end 
fileSetPos ( file, fileGetSize ( file ) ) 
local written = fileWrite( file, ""..chatterName .. " ("..ussser..") envio " ..quantity.." "..item.." a " ..pName) 
fileFlush(file) 
fileClose(file) 

Link to comment
local file = fileOpen("REP.log") 
if not file then 
file = fileCreate("REP.log") 
outputDebugString("Creating REP.log") 
end 
fileSetPos ( file, fileGetSize ( file ) ) 
local written = fileWrite( file, ""..chatterName .. " ("..ussser..") envio " ..quantity.." "..item.." a " ..pName.."\n") 
fileFlush(file) 
fileClose(file) 

Link to comment
local file = fileOpen("REP.log") 
if not file then 
file = fileCreate("REP.log") 
outputDebugString("Creating REP.log") 
end 
fileSetPos ( file, fileGetSize ( file ) ) 
local written = fileWrite( file, ""..chatterName .. " ("..ussser..") envio " ..quantity.." "..item.." a " ..pName.."\n") 
fileFlush(file) 
fileClose(file) 

solo con el /n ?

EDIT:

GRACIAS!

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...