Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Can I execute a txt file from a script?
#2
Try

Code:
file = File.open("Text", "rb")
file.each_line {|line|
  eval(line)
}
file.close
Reply }


Messages In This Thread
[Resolved] Can I execute a txt file from a script? - by Charlie Fleed - 04-18-2010, 03:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Script compatibility help Lord Vectra 3 3,657 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 13,190 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   Map name as save file name Whisper 9 8,525 05-01-2020, 05:35 PM
Last Post: Whisper
   "Wait" in the script Whisper 13 13,929 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 14,350 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 7,718 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 9,103 06-11-2017, 04:43 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 8,766 05-31-2017, 05:10 AM
Last Post: Zachariad
   Actor names in Quest Script jreagan406 5 7,710 03-07-2017, 08:06 AM
Last Post: JayRay
   Bizarre issue with Lanzer counter script. Steel Beast 6Beets 2 6,666 10-04-2016, 11:46 AM
Last Post: Steel Beast 6Beets



Users browsing this thread: