Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How do I Make a !cin <Text_File> command for renegade ??
Re: How do I Make a !cin <Text_File> command for renegade ?? [message #399897 is a reply to message #399896] Wed, 26 August 2009 13:37 Go to previous messageGo to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
NestGeneral wrote on Wed, 26 August 2009 21:32

jnz wrote on Wed, 26 August 2009 15:31

http://lua-users.org/wiki/IoLibraryTutorial




excellent and great quick responding Smile !!

If there is a example available i would like that alot once and again thanks and i appreciate the fast responding to this topic Smile


Here, have it on a silver platter Wink
local file = io.open ("hello.txt", "r")
for line in file:lines() do
  print(line)
end
file:close()

[Updated on: Wed, 26 August 2009 13:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mod working on LAN Server but not on FDS?
Next Topic: SupW no color change
Goto Forum:
  


Current Time: Fri Dec 13 20:45:21 MST 2024

Total time taken to generate the page: 0.00873 seconds