Spoiler
if anyone could either tell me or point me in the right direction it would be much apprechiated EDIT: i just tried this and it failed
Spoiler
P.S sorry for bad spelling.
Posted 28 October 2013 - 06:35 AM
Posted 28 October 2013 - 07:40 AM
local inputA
while not inputA do -- If a variable is set to nil, it's treated as false.
print("Please type the target computer ID:")
inputA = tonumber(read())
end
print("You typed "..inputA..".")
Posted 28 October 2013 - 07:59 AM
Bomb Bloke, on 28 October 2013 - 07:40 AM, said:
local inputA
while not inputA do -- If a variable is set to nil, it's treated as false.
print("Please type the target computer ID:")
inputA = tonumber(read())
end
print("You typed "..inputA..".")
Posted 28 October 2013 - 08:09 AM
kaioo1312, on 28 October 2013 - 07:59 AM, said:
local inputB = ""
while inputB == "" do
print("Please type the message:")
inputB = read()
end
print("You typed \""..inputB.."\".")
Posted 28 October 2013 - 08:13 AM
Posted 28 October 2013 - 04:30 PM
0 members, 2 guests, 0 anonymous users