mirror of
https://github.com/ShadowKatStudios/OC-Minitel.git
synced 2024-11-27 04:18:05 +11:00
11 lines
183 B
Lua
11 lines
183 B
Lua
|
function fget(A,P,V)
|
||
|
local b,tb,s="","",net.open(A,V or 70)
|
||
|
s:w("t"..P.."\n")
|
||
|
repeat
|
||
|
UC.pullSignal()
|
||
|
tb=s:r(2048)
|
||
|
b=b..tb
|
||
|
until tb == "" and s.s == "c"
|
||
|
return b:sub(2)
|
||
|
end
|