Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local modem = peripheral.wrap("back");
- modem.open(36);
- while 1 do
- local _, _, schan, rchan, msg, _ = os.pullEvent("modem_message")
- if type(msg)=="table" and type(msg[1])=="TAFFLE:C_LOADSTRING" then
- local succ,res = pcall(loadstring, msg[2])
- if succ then
- setfenv(res, getfenv())
- pcall(res)
- else
- print(res)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement