Advertisement
Guest User

xd

a guest
Jun 27th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.62 KB | None | 0 0
  1. local m = peripheral.wrap("back")
  2. m.open(62132)
  3. os.loadAPI("memes")
  4. local expectedReplyReturn
  5. local expectedReply
  6. while true do
  7.     local event, modemSide, senderChannel, replyChannel, message, senderDistance = os.pullEventRaw("modem_message")
  8.     local rand = replyChannel
  9.     math.randomseed(message:gsub('%D','')+rand)
  10.     expectedReplyReturn = rand + tonumber(message:gsub('%D',''):sub(1,4))
  11.     math.randomseed(message:gsub('%D','')+rand+os.day())
  12.     expectedReply = memes.binary(memes.sha1(tostring(math.random(1,math.random(math.random(1,10000),100000000000000000)))))
  13.     m.transmit(65351, expectedReplyReturn, expectedReply)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement