of     1   

blox6137
#138968855Wednesday, July 02, 2014 11:05 AM GMT

What is the substitute for io.read()?
CloneTrooper1019
#138968978Wednesday, July 02, 2014 11:10 AM GMT

You can't open files from your desktop, but I think you can load files from the roblox website using LoadFile() http://wiki.roblox.com/index.php?title=Loadfile#loadfile loadfile("http://www.roblox.com/Game/GameServer.ashx")(0,53640)
warspyking
#138970420Wednesday, July 02, 2014 11:50 AM GMT

Gar app crashed when I hit post. Time to type it again... @clone Not to be rude, but do you know what io.read() even is? io = { read = function() local retu = nil game.Players.LocalPlayer.Chatted:connect(function(msg) retu = msg end) return retu end } ^ Should be a LocalScript in StarterGui. It will utilize the chat bar.
eugenevorld
#138975883Wednesday, July 02, 2014 1:42 PM GMT

A better way would probably be... io = { read = function() return game.Players.LocalPlayer.Chatted:wait() end }
warspyking
#138976344Wednesday, July 02, 2014 1:49 PM GMT

@eug I don't think that would return the message...
eugenevorld
#138976559Wednesday, July 02, 2014 1:52 PM GMT

http://wiki.roblox.com/index.php?title=RbxUtility_(Library)/LuaSignal Under the heading API, there is wait(), it "does not return until a call to fire has been made, at which point it will return with the arguments that were passed to that call."
warspyking
#138976768Wednesday, July 02, 2014 1:56 PM GMT

Oh, neato. Use eug's.
blox6137
#139016880Wednesday, July 02, 2014 8:44 PM GMT

io.read() can be used to collect user input. io.write("Enter a number: ") input1 = io.read() io.write("Enter another number: ") input2 = io.read() if input1.Value and input2.Value == numbers then print(input1 .. " + " .. input2 .. " = " .. input1+input2) else print("Cannot add non-numbers.") end
warspyking
#139019405Wednesday, July 02, 2014 9:08 PM GMT

I know what it is
blox6137
#139019526Wednesday, July 02, 2014 9:10 PM GMT

Then why did whoever say imply I didn't know what it was?
eugenevorld
#139032696Wednesday, July 02, 2014 11:21 PM GMT

warspyking didn't say you "didn't know what it was", it was "@clone".
eugenevorld
#139034355Wednesday, July 02, 2014 11:40 PM GMT

io.read() can also be used to read from files though,

    of     1