Nikola013

Temporary Client

Nov 23rd, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. rednet.open("back");
  2. rednet.broadcast("sendReactorMap,1");
  3. local location;
  4. local stack;
  5. local name;
  6. local damage;
  7. local d -- a place holder value...
  8. repeat
  9.   local event, param1, param2, param3 = rednet.receive(3);
  10.   if event == nil then
  11.     event = "nothing";
  12.   end
  13.   if param1 == nil then
  14.     param1 = "nothing";
  15.   end
  16.   if param2 == nil then
  17.     param2 = "nothing";
  18.   end
  19.   if param3 == nil then
  20.     param3 = "nothing";
  21.   end
  22.   print(event .. " " .. param1 .. " " .. param2 .. " " .. param3);
  23. until name == "end"
  24. rednet.close("back");
Advertisement
Add Comment
Please, Sign In to add comment