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 #399903 is a reply to message #399897] Wed, 26 August 2009 13:53 Go to previous messageGo to previous message
DeathC200 is currently offline  DeathC200
Messages: 220
Registered: June 2008
Location: Hud Base
Karma:
Recruit
jnz wrote on Wed, 26 August 2009 15:37

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()






Muchos Gracias i thank you both you are awsome and now i know how to work my magic !!! . Also one more thing i need some good software to work with lua i fell like the software i have is not sufficent enouph for the job Thumbs Up
Big Grin
 
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 23:03:29 MST 2024

Total time taken to generate the page: 0.00937 seconds