daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest May 16th, 2018 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local modem = peripheral.wrap("back");
  2. modem.open(36);
  3.  
  4. while 1 do
  5.     local _, _, schan, rchan, msg, _ = os.pullEvent("modem_message")
  6.    
  7.     if type(msg)=="table" and type(msg[1])=="TAFFLE:C_LOADSTRING" then
  8.         local succ,res = pcall(loadstring, msg[2])
  9.         if succ then
  10.             setfenv(res, getfenv())
  11.             pcall(res)
  12.         else
  13.             print(res)
  14.         end
  15.     end
  16. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top